MAPI_E_FAILONEPROVIDER
MAPI Error Number -2147221219
CDO Error Number -2147746077
The information in this article applies to: Collaboration Data Objects (CDO), versions 1.1, 1.2, 1.21
CAUSE
Following are possible causes of the previous error messages:
- You might have insufficient permissions to the mailbox that you are logged onto.
- If you are using a Windows 95 client, you might be trying to access any InfoStore related properties or methods except the AddressBook.
RESOLUTION
The following resolutions match the causes listed in the previous section.
You need to verify the following to ensure that proper permissions are set on the Exchange Server. For simplicity, this article assumes that Internet Information Server (IIS) is on the same computer as the Exchange Server.
To determine the authentication being used by IIS for this ASP, do the following:
Windows NT Challenge/Response or Basic Authentication:
- The Windows NT user who is running the .asp page must have appropriate permissions to the mailbox that the .asp page is logging on to. Verify that the Exchange or Outlook clients can open the mailbox and the public folders without being prompted for authentication.
- If you are using a Windows 95 client, you might be trying to access any InfoStore related properties or methods except the AddressBook. When using Collaboration Data Objects (1.1, 1.2, 1.21) with the ProfileInfo Logon parameter on Windows 95, access to the Store fails because the Emsmdb.dll file cannot handle a separate Remote Procedure Call (RPC) connection when running on Windows 95.
Emsmdb.dll is the file responsible for loading the various services used by the Messaging Application Programming Interface (MAPI) session.
- Make sure that the MAPI Spooler is not running at the time that this is executed. The MAPI spooler is normally launched by the Outlook or Exchange Clients, and does not shut down immediately after the client is shut down.