XADM: An "ExMerge - (2666b34d)" Error Ocurs When Creating a MAPI Profile by Using the -NUMTHREADS Option in the Exchange 2000 Version of Exmerge (317946)



The information in this article applies to:

  • Microsoft Exchange 2000 Server
  • Microsoft Exchange Server 5.5
  • Microsoft Outlook 2000

This article was previously published under Q317946

SYMPTOMS

When you (the administrator) are using the Exchange 2000 version of the Mailbox Merge program (Exmerge) to export mailboxes to personal folder files (.pst), the initial mailbox may not export and the following error may be logged in the Exmerge.log file:
[19:25:44] Logging Level: Maximum
[19:25:44] Initializing worker thread (Thread1)
[19:25:44] (Thread1) processing the range of mailboxes from '' to '' (index 7 to 14)
[19:25:44] Ending Routine: (CMapiSession::MapiInit)
[19:25:48] Entered Routine: (CMapiSession::CreateEMSPSTProfile)
[19:25:48] Error creating MAPI profile (ExMerge - (2666b34d) - 17 Jan 02). (CMapiSession::CreateEMSPSTProfile)
[19:25:48] Ending Routine: (CMapiSession::CreateEMSPSTProfile)
[19:25:48] Errors encountered. Copy process aborted for mailbox '' ('').
[19:25:48] Entered Routine: (CMapiSession::DeleteOurProfile)
[19:25:48] Ending Routine: (CMapiSession::DeleteOurProfile)
[19:25:49] Ending Routine: EDKRoutines::CopyMailBoxData)
[19:25:49] ((Thread1)) CopyMailboxData Failed -
[19:25:49] ((Thread1)) Incremented progress bar
[19:25:49] ((Thread1)) Before CopyMailboxData -
[19:25:49] Entered Routine: EDKRoutines::CopyMailBoxData)

CAUSE

This issue occurs because the full-featured Mapi32.dll file is renamed to Msmapi32.dll and moved to the Program Files\Common Files\System\Mapi\locale_ID\operating_system folder when Microsoft Outlook is installed. A new stub Mapi32.dll file is added to the System32 folder to point applications to the correct Messaging Application Programming Interface (MAPI) configuration. However, the Exchange 2000 Mailbox Merge program needs direct access to the full-featured version of the Mapi32.dll file.

RESOLUTION

To resolve this issue, copy the full-featured Mapi32.dll file from the System32 folder of an Exchange Server computer (or any computer on which Microsoft Outlook 98 is installed) to the folder that contains the Exmerge.exe file. After you copy the full-featured Mapi32.dll file to the folder that contains the Exmerge.exe file, the Mailbox Merge program uses the full-featured Mapi32.dll file in the local folder and runs successfully.

MORE INFORMATION

For additional information about the -NUMTHREADS switch, click the article number below to view the article in the Microsoft Knowledge Base:

263659 XADM: Algorithm Used to Determine the Number of Threads Used by ExMerge 2000


Modification Type:MinorLast Reviewed:4/25/2005
Keywords:kbprb KB317946