Microsoft KB Archive/320546

= XADM: Mailboxes May Not Export When You Run the -NUMTHREADS Switch =

Article ID: 320546

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition

-



This article was previously published under Q320546



SYMPTOMS
When you (the administrator) use the Exchange 2000 version of the Mailbox Merge program (Exmerge) to run the -NUMTHREADS switch some mailboxes in the Mailboxes.txt file may not export even though the following information may be logged in the Exmerge.log files:

[13:53:05] Program will start processing mailboxes at index 0

[13:53:05] Program will stop processing mailboxes at index 18

[13:53:05] Using attribute 'PR_MESSAGE_DELIVERY_TIME' for date operations.

[13:53:05] Merging data into target store. The program will copy only those messages that do not exist in the target store.

[13:53:05] Folder permissions will be saved to the target store. Any existing folder permissions in the target store will be overwritten.

[13:53:05] Associated folder data will be copied to the target store.

[13:53:05] Using 'English (US)' (0x409) as the default locale (Code page 1252)

[13:53:05] All mailboxes will be processed, regardless of locale

[13:53:05] Program will use 2 worker threads

When the administrator reviews the last Exmerge-(Threadx).log file the administrator may notice the following information logged:

Microsoft Exchange Mailbox Merge Program, v6.0.5762.3

Start Logging:February 18, 2002 13:53:05

[13:53:05] Logging Level: Maximum

[13:53:05] Initializing worker thread (Thread1)

[13:53:05] (Thread1) processing the range of mailboxes from 'User9' to 'User18' (index 9 to 18)

However, &quot;User18&quot; (and other users) may not be exported. Therefore, no .pst file is created for the user. If the administrator does not use the -NUMTHREADS switch, the mailboxes export properly.



CAUSE
This issue occurs because the full-featured Mapi32.dll file is renamed to Msmapi32.dll and is moved to the Program Files\Common Files\System\Mapi\ \ folder when Microsoft Outlook is installed. A new stub Mapi32.dll file is added to the System32 folder to point application to the correct Messaging Application Programming Interface (MAPI) configuration. However, the Exchange 2000 Mailbox Merge program must have 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
The Microsoft Exmerge 2000 program requires the use of the full-featured Mapi32.dll that is included in Exchange 2000. For more information about the effects of running the Exmerge program on a computer running Microsoft Outlook 2000 see the Exmerge.doc file.

Additional query words: exch2kp2w

Keywords: kbpending kbprb KB320546

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.