PRB: CreateMsgService Fails with MAPI_E_NOT_FOUND Against Outlook 2000 (252653)
The information in this article applies to:
- Microsoft Internet Explorer 5.0 for Windows NT 4.0
- Microsoft Internet Explorer 5.0 for Windows NT 3.51
- Microsoft Internet Explorer 5.0 for Windows 98 Second Edition
- Microsoft Internet Explorer 5.0 for Windows 98
- Microsoft Internet Explorer 5.0 for Windows 95
- Microsoft Internet Explorer 5.0 for Windows 3.1
- Microsoft Internet Explorer 5.0 for Windows 2000
- Microsoft Outlook 2000
This article was previously published under Q252653 SYMPTOMS
Extended Messaging Application Programming Interface (MAPI) code that calls the IMsgServiceAdmin::CreateMsgService method may return the MAPI_E_NOT_FOUND error.
CAUSE
There are a number of possible reasons for this error:
- The provider that is being configured is not present on the computer.
- The provider is installed, but is not listed in the copy of Mapisvc.inf that is loaded by MAPI.
- Outlook is not the default MAPI client.
- Exchange or the Exchange Admin tool was installed after Outlook 2000 was installed.
RESOLUTION
The following workarounds correspond to the numbered items in the "Cause" section above:
- Make sure that the desired provider is installed on the computer.
- Make sure that the provider's entries are set in the appropriate copy of Mapisvc.inf. The Outlook 2000 implementation of MAPI reads Mapisvc.inf from the \Program Files\Common Files\System\Mapi\<lang>\<os> folder. Earlier versions of Outlook, as well as Exchange and the Exchange Client, read the version of Mapisvc.inf that is found in the \Windows\System or \Winnt\System32 folder.
- In this situation, MAPI-based programs are not using Outlook's implementation of MAPI, so although Outlook can configure the profile, your program cannot. To work around this, you can configure the MAPIStub library to direct calls from your MAPI program to Outlook's implementation of MAPI. See "MAPIStub" in the Microsoft Developer Network (MSDN) for more information.
- When Exchange or the Exchange Admin tool are installed over Outlook 2000, Outlook's MAPIStub library in the system folder is overwritten. Running FixMAPI restores Outlook's version of MAPI, but may destabilize Exchange.
MORE INFORMATION
There are a number of third-party tools that can watch which files are being accessed at any given time. These tools are helpful in tracking down MAPI_E_NOT_FOUND errors in MAPI calls that require disk access.
REFERENCES
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
229700
How to find the correct path to MAPISVC.INF under Outlook 2000
266418 Microsoft does not support installing Exchange Server and Outlook on the same computer
Modification Type: | Major | Last Reviewed: | 3/30/2005 |
---|
Keywords: | kbMsg kbprb KB252653 |
---|
|