A customer reported that a Riva Server is installed with Direct MAPI Exchange connection to an Exchange 2003 server. When the CRM Agent Service starts, the CRM Monitor is reporting MAPI Fail One Provider errors. An examination of the log file shows:
2011-10-31 20:45:52,873 INFO [CTP-raw #0]  [ExMapiConnection, ConnectInner] Direct connection to [DOMAIN\rivacrm] Mailbox:rivacrm @ mail.demodomain.com
2011-10-31 20:45:54,982 ERROR [CTP-raw #0]  Error in IMAPISession.OpenMsgStore: MAPI_E_FAILONEPROVIDER
Error: The attempt to log on to the Microsoft Exchange Server computer has failed.
Component: Microsoft Exchange Server Information Store
Another customer reported a MAPI_E_FAILONEPROVIDER error when trying to create a Direct MAPI connection to an Exchange CAS server in the Riva Manager application:
2013-06-25 20:45:54,982 ERROR [CTP-raw #0]  Error in IMAPISession.OpenMsgStore: MAPI_E_FAILONEPROVIDER
Error: Microsoft Exchange is not available. Either there are network problems or the Exchange computer is down for maintenance.
Component: Microsoft Exchange Information Store
Potential Causes and Resolutions
The error "MAPI_E_FAILONEPROVIDER" essentially indicates a problem accessing the Exchange system hosting the Riva connection user mailbox. MAPI Impersonation requires that the process making the MAPI connection request uses the identity of the mailbox owner. This can be different depending on they type of Riva connection (for this explanation, the Riva connection user is DOMAIN\rivasvc and the Windows user is DOMAIN\riva-admin:
As a best practice, when dealing with MAPI connections, observe the following practices:
Those practices will ensure that you meet the requirements for Direct MAPI and Profile MAPI connections.
If Riva is already installed and configured, ensure that the Riva CRM Agent service is configured to log on properly:
If Riva is configured properly
If Riva is configured properly and "Logon" credentials are configured for the Riva application and/or service, then the MAPI_E_FAILONEPROVIDER error may indicate an actual Exchange environment issue.
Common Exchange-related Causes resulting in a MAPI_E_FAILONEPROVIDER error: