Topic Last Modified: 2007-01-08

The Microsoft® Exchange Server Analyzer Tool queries the Active Directory® directory service to determine the value for the legacyExchangeDN attribute for all mailbox store databases on an Exchange Server computer. If the Exchange Server Analyzer finds that the value for the legacyExchangeDN attribute on any mailbox store does not correspond with the Exchange Server computer that contains the mailbox store, an error is displayed.

A mismatched legacyExchangeDN could be the result of an administrator modifying Active Directory to recover a database in a disaster recovery situation. To resolve this error, you must modify the legacyExchangeDN attribute using an Active Directory editor, such as the LDP (ldp.exe) tool or Active Directory Service Interfaces (ADSI) Edit.

To ensure that the legacyExchangeDN attribute is correct, examine the legacyExchangeDN attribute of the server where this database resides because, being a child object of that server, this database will have the same legacyExchangeDN.

You should also examine other databases on this Exchange server that did not generate this error, because they should have the same legacyExchangeDN. Be aware that there are several other system objects that also have this attribute. In a situation where the legacyExchangeDN attribute is mismatched on a database, it is probable that the attribute is also mismatched on several other system objects. Therefore, if you use LDP or ADSI Edit to correct a legacyExchangeDN value, you will have to do this on all the other system objects as well.

Caution:
If you incorrectly modify the attributes of Active Directory objects when you use ADSI Edit, the LDP tool, or another Lightweight Directory Access Protocol (LDAP) version 3 client, you may cause serious problems. These problems may require that you reinstall Microsoft Windows Server™ 2003, Exchange Server 2003 or Exchange Server 2007, or both. Modify Active Directory object attributes at your own risk.

To correct this error

  1. Open an Active Directory editor, such as ADSI Edit.

  2. Expand Configuration [DomainName], and then expand, CN=Configuration,DC=DomainName,DC=DomainSuffix.

  3. Expand CN=Services, and then expand CN=Microsoft Exchange.

  4. Expand CN=OrganizationName, expand CN=Administrative Groups, and then expand CN=AdminGroupName.

  5. Expand CN=Servers, expand CN=ServerName, and then expand CN=InformationStore.

  6. Select CN=StorageGroupName, and in the right-hand pane, right-click the mailbox store whose legacyExchangeDN attribute is mismatched and click Properties.

  7. Scroll down to legacyExchangeDN, select it, and click Edit.

  8. In the Value field, enter the correct legacyExchangeDN.

  9. Close the Active Directory editor and restart the Exchange Server computer for the change to take effect.

For more information about using ADSI Edit to create a new legacyExchangeDN attribute, see the Microsoft Knowledge Base article 273863, "How to Change the LegacyExchangeDN Attribute in Native Mode with ADSI Edit" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=273863).