Microsoft KB Archive/919088

= You receive an error message when you use the Exmerge tool to retrieve a list of mailboxes from a recovery storage group in Exchange Server 2003 =

Article ID: 919088

Article Last Modified on 11/27/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange Server 2003 Enterprise Edition

-





SUMMARY
''This article describes an error message that you may receive when you run the Exmerge tool to retrieve a list of mailboxes in Microsoft Exchange Server 2003. This issue occurs if the original user account of a mailbox has been deleted. This article describes how to work around this issue by moving the affected mailbox into the original mailbox store.''



SYMPTOMS
Consider the following scenario. In Microsoft Exchange Server 2003, you use the Exmerge tool to extract mail from the mailboxes that are located in a recovery storage group. Then, you try to retrieve the list of mailboxes that reside on a selected server. In this scenario, you receive the following error message:

An error was encountered with one or more users when retrieving the list of mailboxes homed in the selected databases on server 'Server_Name'. Please refer to the log file, 'ExMerge.log', for more information.

Additionally, when you run the Exmerge tool, you may not see all the mailboxes that are displayed when you view the recovery storage group in Exchange System Manager.

If you view the ExMerge.log file, you will see the following error:

[17:37:20] Error! Cannot identify the user with the msExchMailboxGuid. The legacyExchangeDN is /O=ORG/OU=SITE/CN=RECIPIENTS/CN=USER.

[17:37:20] Skipped 1 mailbox(es) homed on database 'STORAGE GROUP/MAILBOX STORE' because of errors.

[17:37:20] Skipped 1 mailbox(es) homed on the specified databases because of errors.



CAUSE
This issue occurs if the original user account for a mailbox has been deleted. When you run the Exmerge tool against the recovery storage group, the tool searches for the msExchMailboxGuid attribute of the user account that was originally connected to the mailbox. If the tool cannot find the attribute, it returns the error that is described in the &quot;Symptoms &quot;section.



WORKAROUND
To work around this issue, move the affected mailbox into the original mailbox store. To do this, follow these steps.

Step 1: Dismount the recovery storage group mailbox store
 Start Exchange System Manager. Expand Servers, and then expand the appropriate recovery storage group. Right-click the affected mailbox store, click Dismount Store, and then click Yes. Wait for the process to be completed.

Step 2: Run the Eseutil tool against the recovery storage group database
 Start a command prompt. Move to the :\Program Files\Exchsrvr\Bin folder.</li> Type Eseutil /mh, and then press ENTER. For example, type the following text, and then press ENTER:

type eseutil /mh

</li> In the output, verify that &quot;Clean Shutdown&quot; appears in the State line.</li></ol>

Step 3: Create a new storage group
 Start Exchange System Manager.</li> Right-click  , point to New, and then click Storage Group.</li> In the Name box, type an appropriate name, and then click OK.

For example, type Temp Storage Group, and then click OK.</li></ol>

Step 4: Create a new mailbox store under the new storage group
 Right-click the new storage group that you created in step 3, point to New, and then click Mailbox Store.</li> In the Name box, type the name of the original mailbox store, and then click OK.</li> When you are prompted to mount the database, click No.</li> Right-click the mailbox store object, and then click Properties.</li> Click the Database tab. In the Exchange database box, note the path of the database file. For example, this path will resemble the following path:

C:\Program Files\Exchsrvr\ \ (Server_Name).edb

</li></ol>

Step 5: Copy the database from the Recovery Storage Group folder to the new mailbox store folder
 Under the Recovery Storage Group container, right-click the mailbox store object, and then click Properties.</li> Click the Database tab. In the Exchange database box, note the path of the database file. For example, this path will resemble the following path:

C:\Program Files\Exchsrvr\ \ .edb

</li> <li>In Windows Explorer, open the folder of the database file that you noted in step 5b. Then, copy the two files that have the .edb and .stm file name extensions to the folder of the new storage group. The folder that you noted in step 4d is the folder of the new storage group.</li></ol>

Step 6: Reconnect the affected mailbox to a new user account
<ol style="list-style-type: lower-alpha;"> <li>Under the new storage group that you created, right-click the mailbox store, and then click Mount Store.</li> <li>Click OK.</li> <li>Right-click the Mailboxes container, and then click Run Cleanup Agent.</li> <li>In the Mailboxes container, right-click the disconnected mailbox. Then, click Reconnect.

Note A red &quot;X&quot; will appear on the disconnected mailbox.</li> <li>Click the appropriate user in the Select a new user for this mailbox dialog box.</li></ol>

Step 7: Move the affected mailbox back to its original mailbox store
<ol style="list-style-type: lower-alpha;"> <li>In the right pane, right-click the affected mailbox, and then click Exchange tasks.</li> <li>In the Exchange Task Wizard that appears, click Next.</li> <li>On the Available Tasks page, click Move Mailbox under Select a task to perform. Then, click Next.</li> <li>On the Move Mailbox page, click the appropriate server in the Server list. Then click the original mailbox store in the Mailbox Store list.</li> <li>Click Next.</li> <li>Configure a method to use to handle any corrupted messages that are found during the move. Then, click Next two times.</li> <li>Exit Exchange System Manager.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
If you create a new user account that has the same name as the original account, the error that is described in the &quot;Symptoms&quot; section will still be returned. This behavior occurs because the msExchMailboxGuid attribute of the new user account will be different.

<div class="references_section">