PRB: CDO:"MAPI_E_NOT_FOUND" Error When You Call Session.Logon

Article translations Article translations
Article ID: 254567 - View products that this article applies to.
This article was previously published under Q254567
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
Expand all | Collapse all


When you access an Active Server Pages (ASP) page that uses Collaboration Data Objects (CDO) code to log on to Microsoft Exchange Server using the Session.Logon method, the following error may occur:

[Collaboration Data Objects - [MAPI_E_NOT_FOUND(8004010F)]]

NOTE: This error occurs if you use either Anonymous, Basic or Clear Text, or Windows NT Challenge Response authentication methods as the user authentication on the virtual directory.


This log on error occurs because the user account (either the IUSR_<ComputerName> or the Windows NT account) that accesses the virtual directory does not have permissions to the directory where Windows NT is installed.


WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Following are two work-arounds to resolve this behavior:
  • Give the accounts that access the ASP page write permissions to the directory where Windows NT is installed. (This is not recommended because it allows write permissions to the Windows directory.)
  • Add the registry value referenced in the following Microsoft Knowledge Base article:
    166599 XWEB: .MMP file Created by MS Exchange Active Server


When you use CDO in an ASP page, then the .mmp files are created in the Internet Information Server (IIS) server directory where Windows NT is installed by default. The .mmp file is a temporary file that CDO uses to store profile information during the current CDO session. This .mmp file is automatically deleted after the session is closed.


For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
214712 XWEB: MMP Files are Locked and Cannot be Delete
178511 XWEB: Err Msg: Failed to Connect to Microsoft Exchange Server


Article ID: 254567 - Last Review: March 4, 2004 - Revision: 2.1
  • Microsoft Collaboration Data Objects 1.2
  • Microsoft Collaboration Data Objects 1.21
kbmsg kbprb KB254567
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from