Microsoft KB Archive/328661

= Running Exchange 2000 Setup with /Forestprep switch produces Error 0XC1037AE6 =

Article ID: 328661

Article Last Modified on 5/23/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Exchange 2000 Enterprise Server

-



This article was previously published under Q328661



SYMPTOMS
When you try to install Exchange 2000 Server by using the /forestprep switch, Setup may not work. The Exchange Server Setup Progress.log file may contain the following entry:

Error code 0XC1037AE6 (31462): Extending the schema in the Active Directory failed. Please consult the following error log: %s\LDIF.ERR.

The Ldif.err file may contain the following entry:

Add error on line XXX: Unwilling To Perform The server side error is &quot;Schema update failed: duplicate LDAP display name.&quot; An error has occurred in the program.



CAUSE
This issue may be caused if a labeledURI schema object with an lDAPDisplayName of labeledURI already exists in the Active Directory. The labeledURI object may have been created by a third-party program such as the Cisco Systems &quot;Cisco Call Manager&quot; program.



RESOLUTION
To resolve this issue, use the Microsoft Windows 2000 inetOrgPerson Kit to modify the schema:

Download and Extract the Windows 2000 inetOrgPerson Kit
 To download the Windows 2000 inetOrgPerson Kit, visit the following Microsoft Web site:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnactdir/html/inetopkit.asp

 Double-click the W2k_iop_kit.exe file, and then extract the files to the C:\Inetorg folder.

NOTE: You may have to create the C:\Inetorg folder.

Determine the rootDomainNamingContext Value
You can use the Lightweight Directory Protocol (LDP) utility to help determine the rootDomainNamingContext for your domain. The rootDomainNamingContext is required to update the schema. To determine the rootDomainNamingContext:  On a Windows 2000 Server-based computer that is running as a domain controller, click Start, and then click Run. In the Open box, type ldp, and then press ENTER.

NOTE: If LDP is not installed on your computer, install LDP. For additional information about how to install LDP, click the following article number to view the article in the Microsoft Knowledge Base:

255602 Browsing and querying using the LDP utility

 In LDP, click Connection, and then click Connect.</li> In the Connect dialog box, make no changes to the default settings, and then click OK.</li> In the right pane, note the value that is listed for rootDomainNamingContext.</li> Quit LDP.</li></ol>

Modify the Exchange.ldf File
The Exchange.ldf file is included with the Windows 2000 inetOrgPerson Kit. This file provides a method for modifying the ldapDisplayName value. To modify the Exchange.ldf file:
 * 1) In Windows Explorer, right-click the C:\InetOrg\Exchange.ldf file.
 * 2) Click Open With, click Notepad, and then click OK.
 * 3) In Notepad, replace the value of   for all instances of DC=, with the value for rootDomainNamingContext that you previously noted in step 5.
 * 4) On the File menu, click Save, and then quit Notepad.

Copy the Exchange.ldf File to the Schema Owner
After you modify the Exchange.ldf file, you must copy it to the domain controller schema owner. To determine which domain controller is the schema owner and copy the file:
 * 1) Click Start, and then click Run.
 * 2) In the Open box, type cmd, and then press ENTER.
 * 3) Type netdom query fsmo, and then press ENTER.
 * 4) Note the value that is returned for Schema owner, and then close the command prompt.
 * 5) Copy the modified Exchange.ldf file to the  :\Winnt\System32 folder on the domain controller that is running as the schema owner, where   is the drive on which Windows is installed.

Update the Schema By Using LDIFDE
LDIFDE is a utility in Windows 2000 to support batch-update operations to the Active Directory based on the LDIF file format standard. To use LDIFDE to update the Active Directory:
 * 1) On the Windows 2000-based server that is running as the schema owner, click Start, and then click Run.
 * 2) In the Open box, type cmd, and then press ENTER.
 * 3) Type ldifde -i -f  :\winnt\system32\exchange.ldf -v where   is the drive on which Windows is installed, and then press ENTER.

NOTE: If you receive the following error message, you may have to modify the &quot;Schema Update Allowed&quot; registry key:

Schema update is not allowed on this DC. Either the registry key is not set or the DC is not the schema FSMO role owner.

For additional information about how to modify this registry key, click the following article number to view the article in the Microsoft Knowledge Base:

285172 Schema update require Write Access to schema in Active Directory

Troubleshooting
When using LDIFDE, you may receive one of the following error messages:

An attempt was made to add an object to the directory with a name that is already in use.

-or-

The specified value already exists.

If this occurs, note the value that produced the error message, and then follow these steps:
 * 1) On the domain controller that is running as the schema owner, open the  :\Winnt\System32\Exchange.ldf file in Notepad, where   is the drive on which Windows is installed.
 * 2) In Notepad, locate and delete the section that creates the value that you noted in the error message.
 * 3) On the File menu, click Save, and then quit Notepad.
 * 4) On the Windows 2000-based server that is running as the schema owner, click Start, and then click Run.
 * 5) In the Open box, type cmd, and then press ENTER.
 * 6) Type ldifde -i -f  :\Winnt\System32\exchange.ldf -v where   is the drive on which Windows is installed, and then press ENTER.

If setup /forestprep does not work after you follow these steps, determine if the same error message is being noted in the Exchange Server Setup Process.log file. If error code 0XC1037AE6 still appears, view the Ldif.err file for an entry that is similar to the following:

Entry DN: CN=Mail-Recipient,CN=Schema,CN=Configuration,DC=cpn,DC=net change: modify

Attribute 0) mayContain:secretary Add error on line 2628: No Such Attribute The server side error is &quot;The parameter is incorrect.&quot; An error has occurred in the program

To resolve this issue:
 * 1) On the computer on which the Microsoft Windows inetOrgPerson Kit is installed, right-click the C:\InetOrg\Inetorgperson.ldf file.
 * 2) Click Open With, click Notepad, and then click OK.
 * 3) In Notepad, remove all object-creation sections except the section that creates the attribute that is listed in this error message.
 * 4) On the File menu, click Save, and then quit Notepad.
 * 5) Copy the modified Inetorgperson.ldf file to the  :\Winnt\System32 folder on the domain controller that is running as the schema owner, where   is the drive on which Windows is installed.
 * 6) On the Windows 2000-based server that is running as the schema owner, click Start, and then click Run.
 * 7) In the Open box, type cmd, and then press ENTER.
 * 8) Type ldifde -i -f  :\winnt\system32\inetorgperson.ldf -v where   is the drive on which Windows is installed, and then press ENTER.
 * 9) Close the command prompt.

<div class="moreinformation_section">

MORE INFORMATION
For additional information about related topics, click the following article numbers to view the articles in the Microsoft Knowledge Base:

312371 HOW TO: Prepare the forest by using ForestPrep in Exchange 2000

312407 Requirements for preparing Windows domains for Exchange Server 2003 or for Exchange 2000 Server

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Keywords: kberrmsg kbprb kbsetup KB328661

-

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

© Microsoft Corporation. All rights reserved.