FIX: CDO (1.x) Error MAPI_E_FAILONEPROVIDER Using Store Related Properties (183093)
The information in this article applies to:
- Microsoft Exchange Server 5.0
- Microsoft Exchange Server 5.5
- Collaboration Data Objects (CDO) 1.21
- Collaboration Data Objects (CDO) 1.1
- Collaboration Data Objects (CDO) 1.2
This article was previously published under Q183093 SYMPTOMS
The following error may occur when trying to programmatically access any
InfoStore related properties or methods such as OutOfOfficeText,
GetDefaultFolder(n), and so forth:
MAPI_E_FAILONEPROVIDER.
This error does not occur on AddressBook related properties and/or methods
such as GetAddressList(x) or AddressLists, and so forth.
CAUSE
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 service provider loaded by the Messaging Application Programming Interface (MAPI) session in order to communicate with the Exchange Server.
RESOLUTION
Here are two possible workarounds:
- If possible, do not use the ProfileInfo parameter to Logon.
-or-
- Make sure that the MAPI Spooler is not running at the time 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.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
REFERENCES
For information on where to acquire the latest version of CDO (1.x) please see the following article in the Microsoft Knowledge Base: 171440 Where to Acquire the CDO (1.x) Libraries
Modification Type: | Major | Last Reviewed: | 5/10/2005 |
---|
Keywords: | kbBug kbCDO121fix kbfix kbMsg KB183093 |
---|
|