Article ID: 195849 - Last Review: November 22, 2005 - Revision: 3.1 You receieve a "MAPI_E_FAILONEPROVIDER (8004011D)" error message using CDO 1.21This article was previously published under Q195849 On This PageSYMPTOMS
When attempting to use Collaboration Data Objects (CDO) 1.21, you receive the following error message:
MAPI_E_FAILONEPROVIDER (8004011D).
Active Messaging error '00000505' You do not have permission to log on. [Microsoft Exchange Server Information Store - [MAPI_E_FAILONEPROVIDER(8004011D)]] CAUSE
Following are possible causes of the previous error messages:
Cause 1If you are running your code from an Active Server Pages page, Microsoft Internet Information Server (IIS) might not be configured correctly for anonymous access.Cause 2If you are running your code from an Active Server Pages page, you might be trying to view the contents of a public folder by stepping through the tree (or folder hierarchy).Cause 3Your authentication control is set to "NT Challenge Response" and you are using Netscape Navigator for your browser.Cause 4You might have insufficient permissions to the mailbox that you are logged onto.Cause 5If 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.
Cause 1: ResolutionIf you are using the IIS anonymous account to access an Exchange account, these items need to be set up as follows on the IIS computer and the Exchange server:
195681
(http://support.microsoft.com/kb/195681/EN-US/
)
HOWTO: Configure an Exchange Mailbox for Anonymous Access
Cause 2: ResolutionA difference between viewing Public Folders from Visual Basic and from Visual Basic Script in an ASP page is that in Visual Basic Script you need to use the GetFolder() method, which means you need to know the FolderID. If you do not know the FolderID, you need to determine the FolderID programmatically.For an example of how to access public folders from an ASP, please see the following article in the Microsoft Knowledge Base: 178552
(http://support.microsoft.com/kb/178552/EN-US/
)
HOWTO: View Public Folder Contents from an ASP
Cause 3: ResolutionYour authentication control is set to "NT Challenge Response," and you are using Netscape Navigator for your browser. Netscape Navigator does not support "NT Challenge Response" as an authentication option. To log on to a user's Exchange account using Netscape Navigator as your browser, you need to set up the IIS authentication as "Basic (Clear Text)".Cause 4: ResolutionYou 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. Anonymous Access: If you are accessing IIS as the Anonymous user, you should either log on to the Exchange Server as an Anonymous user or follow the steps in the following article in the Microsoft Knowledge Base: 179332
(http://support.microsoft.com/kb/179332/EN-US/
)
HOWTO: Programmatically Gain Anonymous Access to Public
Folders
To logon to Exchange as an anonymous user, please see the instructions in
the Remarks section of the Platform SDK/CDO (1.x) article entitled "Logon Method (Session Object)" in the Microsoft Developer Network (MSDN) Library.
For sample code to help you determine what authentication level and user account is in use, please see the following article in the Microsoft Knowledge Base: 189533
(http://support.microsoft.com/kb/189533/EN-US/
)
PRB: MAPI_E_FAILONEPROVIDER Accessing Public Folder
Through ASP
Cause 5: ResolutionIf 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.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. Use one of the following methods to work around this:
183093
(http://support.microsoft.com/kb/183093/EN-US/
)
FIX: MAPI_E_FAILONEPROVIDER Using Store Related
Properties w/CDO
| Article Translations
|


Back to the top
