FIX: MAPI_E_FAILONEPROVIDER Using Store Related Properties w/CDOID: Q183093
|
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.
When using Collaboration Data Objects (CDO) 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.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
MAPI_E_FAILONEPROVIDER.
Set objSession = CreateObject("Mapi.Session")
objSession.Logon ProfileInfo:="MyServer" + vbCrLf + "MyMailbox"
Debug.Print objSession.OutOfOfficeText '<=== Failure occurs here.
For information about Collaboration Data Objects versus Active Messaging,
please see the following article in the Microsoft Knowledge Base:
Q176916
INFO: Active Messaging and Collaboration Data Objects (CDO)
The fix for this problem in CDO.DLL for Windows 95 is available at:
http://www.microsoft.com/exchange/55/downloads/CDO.htm
Here are two possible workarounds:
Additional query words: ActMsg
Keywords : kbCDO kbCDO110 kbCDO120 kbMsg
Version : WINDOWS:1.1,1.2; winnt:5.0,5.5
Platform : WINDOWS winnt
Issue type : kbbug
Last Reviewed: June 18, 1999