ExMerge ends with error (0x8004011d) while importing data

Posted on 2007-12-04
Last Modified: 2012-08-13

I'm trying to merge data from .pst files created by ExMerge to accounts on new server, but getting error. Below is part of ExMerge.log with information about error:


[11:36:21] Logging Level: None
[11:36:21] Reading settings from file 'C:\Program Files\Exchsrvr\bin\EXMERGE.INI'.
[11:36:21] Reading list of subjects for messages to be selected from file ''
[11:36:21] Reading list of attachment names for messages to be selected from file ''
[11:36:21] List of folders to be ignored has been read. 0 folders in the list.
[11:36:21] Current machine locale ID is 0x409
[11:36:21] Operating System Version 5.2 (Build 3790)
[11:36:47] Accessing Domain Controller 'DOMAIN'
[11:36:47] 'DOMAIN' is running Exchange Server 2000 or later
[11:36:47] Mailbox '/o=WAHLR/ou=first administrative group/cn=Configuration/cn=Servers/cn=DOMAIN/cn=Microsoft System Attendant' will be ignored as its DN contains strings in the ignore list
[11:36:47] Mailbox '/o=WAHLR/ou=first administrative group/cn=Configuration/cn=Connections/cn=SMTP (DOMAIN)/cn={0D463F80-C226-4ECD-9624-7370797C86F8}' will be ignored as its DN contains strings in the ignore list
[11:36:47] Mailbox '/o=WAHLR/ou=first administrative group/cn=Recipients/cn=SystemMailbox{0D463F80-C226-4ECD-9624-7370797C86F8}' will be ignored as its DN contains strings in the ignore list
[11:36:48] Found 16 mailbox(es) homed on database 'FIRST STORAGE GROUP/MAILBOX STORE (DOMAIN)'.
[11:36:48] Ignored 3 mailbox(es) homed on database 'FIRST STORAGE GROUP/MAILBOX STORE (DOMAIN)'.
[11:36:48] Found 16 mailbox(es) homed on the specified databases.
[11:36:48] Ignored 3 mailbox(es) homed on the specified databases.
[11:37:50] Using attribute 'PR_MESSAGE_DELIVERY_TIME' for date operations.
[11:37:50] Merging data into target store. The program will copy only those messages that do not exist in the target store.
[11:37:50] Associated folder data will NOT be copied to the target store.
[11:37:50] Using 'English (US)' (0x409) as the default locale (Code page 1252)
[11:37:50] All mailboxes will be processed, regardless of locale
[11:37:50] Using default locale for all mailboxes
[11:37:50] Initializing worker thread (Thread0)
[11:37:50] Merging data from file 'E:\EXCHANGE RESTORE\TNAKAZAWA.PST' to mailbox 'Tetsu Nakazawa' ('TNAKAZAWA') on server 'DOMAIN'.
[11:37:50] Error opening message store (MSEMS). Verify that the Microsoft Exchange Information Store service is running and that you have the correct permissions to log on. (0x8004011d)
[11:37:50] Errors encountered. Copy process aborted for mailbox 'Tetsu Nakazawa' ('TNAKAZAWA').
[11:37:50] Number of items copied from the source store for all mailboxes processed: 0
[11:37:50] Total number of folders processed in the source store: 0
[11:37:50] 0 mailboxes successfully processed. 1 mailboxes were not successfully processed. 0 non-fatal errors encountered.


Domain name: wahlr.lcl, server name: DOMAIN. I am logged in as administrator, seems like Microsoft Exchange Information Store service is running, at least in services console status it "Started".

Any ideas? I should import/merge about 6 user accounts very soon from PST files I already created on old server using ExMerge utility. Thanks.
Question by:MACROLEVEL
LVL 104

Expert Comment

ID: 20404432
You don't have permissions to open the mailboxes. That is what that error means.

LVL 10

Expert Comment

ID: 20404496

Author Comment

ID: 20404625

I am administrator, and Administrator I believe is listed as user with full access for Exchange server. How can I check this to make sure is OK? Or should I create new user and grant him full permissions just for ExMerge process? I thought that Administrator can do it by default? Thanks
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

LVL 104

Accepted Solution

Sembee earned 250 total points
ID: 20404653
You have made a common mistake - and think that using the administrator account or being a domain admin gives you access to everything. It does not. Administrator has an explicit DENY to all mailboxes. That is why you are being denied access.

I always recommend a special user is created for this process, that is given the minimum permissions required. This user must not be a domain admin or an administrator.


Author Comment

ID: 20404995
Thanks, Simon.

Just added new user exmerge using ADUC. Its just member of domain users group. Unfortunately, cannot use utility to grant "Full Mailbox Access" permissions because I can't see exmerge user in the list. Can I add this user manually and assign this permissions by righgt-click on Mailboxes in Exchange three and adding this user?
LVL 104

Expert Comment

ID: 20405010
Is the user you created mail enabled? Did it get an email address automatically?

You could add the user manually, but it still needs to be a mail enabled user.


Expert Comment

ID: 20408819
For some reasons when you run exmerge.exe from C:\Program Files\Exchsrvr\bin  folder you get this error. I would recommend to download exmerge from . Extract it to a new folder and run exmerge.exe

When you run exmerge.exe it is going to give you an error message of missing file  ( exchmem.dll). Copy the missing from from C:\Program Files\Exchsrvr\bin to same folder where you extracted other files . Re run the exmerge.exe

Author Comment

ID: 20408968

Yes, I created email-enabled user.


I ran ExMerge on old server without any issues from \Exchsrv\Bin folder... The problem is as Sembee said with user permissions and especially with Administrator's account... Maybe there is another problem, but first one is because of user. Will try tomorrow and let you know how it's going. Thanks.

Expert Comment

ID: 20473717
Thre are more of us out here who want's to know if it will owrk by adding a new "mailUser" :)

Expert Comment

ID: 22795772
The real answer is :

When the Mailbox Merge Program Tries to Open the Message Store, the Operation Is Unsuccessful
Article ID      :      322312

Follow these instructions and it will work perfectly.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question