XADM: ExMerge Error Message: Error Accessing Directory Object for 'DN' (262442)



The information in this article applies to:

  • Microsoft Exchange Server 5.5
  • Microsoft Exchange 2000 Server

This article was previously published under Q262442

SYMPTOMS

When you run the Microsoft Exchange Mailbox Merge program (ExMerge.exe), you may receive the following error message:
Error accessing directory object for 'DN'
where DN is the distinguished name of a mailbox.

CAUSE

This issue can occur when you run the ExMerge program in batch mode and specify a list of mailboxes to be processed, if the Distinguished Name (DN) in Exchange 5.5 or the legacyExchangeDN in Exchange 2000 that is specified in the text file does not refer to a valid mailbox object in the Exchange Server directory.

Note When you run the ExMerge program in Extract mode or Extract and Import mode, ExMerge connects to the source server that is specified in the .ini file to validate the DNs that are specified in the text file. When you run the ExMerge program in Import mode, ExMerge connects to the destination server that is specified in the .ini file. Therefore, if replication has not finished and the source or destination server does not have information about the mailboxes that are specified in the text file, this issue can also occur.

This issue can also occur if the DN that is specified has a multi-word directory name. By default, the ExMerge program uses a comma as a delimiter to parse out the source and target DNs from each line of the text file that contains the mailboxes. For example, if the following DN is specified

/o=Microsoft/ou=PST-Central/cn=Recipients/cn=LastName, FirstName

the ExMerge program incorrectly parses the source DN.

RESOLUTION

To resolve this issue, make sure that the Distinguished Name (DN) in Exchange 5.5 or legacyExchangeDN in Exchange 2000 that is specified in the text file refers to a valid mailbox object in the Exchange Server directory, make sure that replication has finished, and use ExMerge version 2.60 or later and specify a delimiter to use to parse the mailbox data. To specify the delimiter, use the "DelimiterUsedInMailboxFile" setting in the .ini file.

The following are the possible values for this setting:
  • 0 - Comma
  • 1 - Tab
  • 2 - Semicolon
  • 3 - Colon
  • 4 - Space
The default value (if no value is specified) is 0.

Modification Type:MinorLast Reviewed:4/21/2005
Keywords:kberrmsg kbprb KB262442