You are currently offline, waiting for your internet to reconnect

How to add entries for Exchange services to Mapisvc.inf

This article was previously published under Q294470
SUMMARY
Certain MAPI configurations may not include entries in the Mapisvc.inf file for Microsoft Exchange services, even though the appropriate MAPI providers for Exchange have been installed. For example, you may install Exchange Administrator on a server to get a MAPI implementation.
MORE INFORMATION
Mapisvc.inf holds entries for the available MAPI services on a particular computer. Installing Exchange Administrator installs a fully functional version of the MAPI subsystem, but does not update Mapisvc.inf. If you want to develop server applications that need to log on to the Exchange message store, Mapisvc.inf must contain the appropriate entries.

To add entries to Mapisvc.inf for the Exchange Message Store service, follow these steps:
  1. In Notepad, create a new text file. Paste the following text in the file, and save the file as Msems.inf:
    [Services]MSEMS=Microsoft Exchange Server[Default Services]MSEMS=Microsoft Exchange Server[MSEMS]PR_DISPLAY_NAME=Microsoft Exchange ServerSections=MSEMS_MSMail_SectionPR_SERVICE_DLL_NAME=emsui.dllPR_SERVICE_INSTALL_ID={6485D26A-C2AC-11D1-AD3E-10A0C911C9C0}PR_SERVICE_ENTRY_NAME=EMSCfgPR_RESOURCE_FLAGS=SERVICE_SINGLE_COPYWIZARD_ENTRY_NAME=EMSWizardEntryProviders=EMS_DSA, EMS_MDB_public, EMS_MDB_private, EMS_RXP, EMS_MSX, EMS_HookPR_SERVICE_SUPPORT_FILES=emsui.dll,emsabp.dll,emsmdb.dll[EMS_MDB_public]PR_RESOURCE_TYPE=MAPI_STORE_PROVIDERPR_PROVIDER_DLL_NAME=EMSMDB.DLLPR_SERVICE_INSTALL_ID={6485D26A-C2AC-11D1-AD3E-10A0C911C9C0}PR_RESOURCE_FLAGS=STATUS_NO_DEFAULT_STORE66090003=06000000660A0003=0300000034140102=78b2fa70aff711cd9bc800aa002fc45aPR_DISPLAY_NAME=Public FoldersPR_PROVIDER_DISPLAY=Microsoft Exchange Message Store[EMS_MDB_private]PR_PROVIDER_DLL_NAME=EMSMDB.DLLPR_SERVICE_INSTALL_ID={6485D26A-C2AC-11D1-AD3E-10A0C911C9C0}PR_RESOURCE_TYPE=MAPI_STORE_PROVIDERPR_RESOURCE_FLAGS=STATUS_PRIMARY_IDENTITY|STATUS_DEFAULT_STORE|STATUS_PRIMARY_STORE66090003=0C000000660A0003=0100000034140102=5494A1C0297F101BA58708002B2A2517PR_DISPLAY_NAME=Private FoldersPR_PROVIDER_DISPLAY=Microsoft Exchange Message Store[EMS_DSA]PR_DISPLAY_NAME=Microsoft Exchange Directory ServicePR_PROVIDER_DISPLAY=Microsoft Exchange Directory ServicePR_PROVIDER_DLL_NAME=EMSABP.DLLPR_SERVICE_INSTALL_ID={6485D26A-C2AC-11D1-AD3E-10A0C911C9C0}PR_RESOURCE_TYPE=MAPI_AB_PROVIDER[MSEMS_MSMail_Section]UID=13DBB0C8AA05101A9BB000AA002FC45A66000003=0105000066010003=0400000066050003=0300000066040003=02000000[EMS_RXP]PR_DISPLAY_NAME=Microsoft Exchange Remote TransportPR_PROVIDER_DISPLAY=Microsoft Exchange Remote TransportPR_PROVIDER_DLL_NAME=EMSUI.DLLPR_SERVICE_INSTALL_ID={6485D26A-C2AC-11D1-AD3E-10A0C911C9C0}PR_RESOURCE_TYPE=MAPI_TRANSPORT_PROVIDER66090003=40000000660A0003=0A000000[EMS_MSX]PR_DISPLAY_NAME=Microsoft Exchange TransportPR_PROVIDER_DISPLAY=Microsoft Exchange TransportPR_PROVIDER_DLL_NAME=EMSMDB.DLLPR_SERVICE_INSTALL_ID={6485D26A-C2AC-11D1-AD3E-10A0C911C9C0}PR_RESOURCE_TYPE=MAPI_TRANSPORT_PROVIDER66090003=00000000[EMS_Hook]PR_DISPLAY_NAME=MS Exchange HookPR_PROVIDER_DISPLAY=MS Exchange HookPR_PROVIDER_DLL_NAME=EMSMDB.DLLPR_SERVICE_INSTALL_ID={6485D26A-C2AC-11D1-AD3E-10A0C911C9C0}PR_RESOURCE_TYPE=MAPI_HOOK_PROVIDERPR_RESOURCE_FLAGS=HOOK_INBOUND					
  2. Use Mergeini.exe to merge the Msems.inf file into Mapisvc.inf. Mergeini.exe is a utility that comes with the Microsoft Platform Software Development Kit (SDK). The syntax is as follows:
    mergeini <full path to msems.inf> -m					
It is possible to leave out the transport sections from above when modifying your MAPISVC.INF file. This would not affect clients that log in with the MAPI_NO_MAIL flag set, such as NT services. However, transport-related functions (such as EnumAdrTypes and IMAPISession::MessageOptions) will not work properly.
REFERENCES
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
158826 Location of Mapisvc.inf file not configurable
229700 How to locate the correct path to the Mapisvc.inf file in Microsoft Outlook
Properties

Article ID: 294470 - Last Review: 10/25/2007 17:12:28 - Revision: 4.5

  • Microsoft Exchange Server 2003 Enterprise Edition
  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange 2000 Server Standard Edition
  • Microsoft Exchange Server 5.5 Standard Edition
  • Microsoft Messaging Application Programming Interface
  • kbhowto kbmsg KB294470
Feedback