PRB: CDO:"MAPI_E_NOT_FOUND" Error When You Call Session.Logon (254567)
The information in this article applies to:
- Collaboration Data Objects (CDO) 1.2
- Collaboration Data Objects (CDO) 1.21
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
SYMPTOMS
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.
CAUSE
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.
RESOLUTIONWARNING: 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
MORE INFORMATION
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.
REFERENCESFor 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
Modification Type: | Minor | Last Reviewed: | 3/4/2004 |
---|
Keywords: | kbMsg kbprb KB254567 |
---|
|