Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
XWEB: MMP files Created by MAPI and CDO
Article ID: 166599 - View products that this article applies to.
This article was previously published under Q166599
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:
(http://support.microsoft.com/kb/256986/ )Description of the Microsoft Windows Registry
When you use Collaboration Data Objects (CDO) or Messaging Application Programming Interface (MAPI) in an ASP page to access information on Microsoft Exchange Server 5.5 or Microsoft Exchange 2000 Server, files with an .mmp extension are created in your %windir% directory by default.
The .mmp file is a temporary file used by Extended MAPI (and hence CDO) to store certain profile information during the active session. This file should be deleted after the user logs off and the session is closed.
Because these files are created dynamically, the account running the ASP page (usually the Microsoft Internet Information Server (IIS) Anonymous Logon account: IUSR_Server) needs to have change permissions on the %windir% directory.
Also, a registry key exists that you may use to control which directory creates the .mmp files.
MORE INFORMATIONWarning 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.
If the following registry key is present, the .mmp files will be created there instead of the \Winnt directory:
HKEY_LOCAL_MACHINE/Software/Microsoft/Windows Messaging SubsystemTo create the registry entry, do the following:
If the registry key/value is not present, the .mmp files are created in the Winnt directory as before.
String Value: ProfileDirectory Value Data: Path to the directory you want the temporary files to be created in. Example: C:\MyComputer\Temporary.
Article ID: 166599 - Last Review: February 26, 2007 - Revision: 5.4