Article ID: 183093 - Last Review: May 10, 2005 - Revision: 4.0 FIX: CDO (1.x) Error MAPI_E_FAILONEPROVIDER Using Store Related PropertiesThis article was previously published under Q183093 On This PageSYMPTOMS
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:
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
MORE INFORMATIONSteps to Reproduce BehaviorThe sample code below reproduces this failure, yielding the following error on a Windows 95 (SP1 and OSR2) system: MAPI_E_FAILONEPROVIDER. Sample CodeREFERENCES
For information on where to acquire the latest version of CDO (1.x) please see the following article in the Microsoft Knowledge Base: 171440
(http://support.microsoft.com/kb/171440/EN-US/
)
Where to Acquire the CDO (1.x) Libraries
APPLIES TO
| Article Translations
|

Back to the top
