Archive for Active Directory

Error during PrepareSchema phase Exchange 2010 installation

Posted in Active Directory, Exchange 2010 with tags , on June 4, 2012 by uniekdevries

Before installing the first Exchange 2010 server in you organization you have to extend the Active Directory schema. This can be done by running the /PrepareSchema command from the Exchange 2010 DVD. In most cases this stage completes without errors. Except in our environment ;-(

The following error occured:

“There was an error while running ‘ldifde.exe’ to import the schema file ‘C:\Windows\Temp\ExchangeSetup\Setup\Data\PostExchange2003_schema18.ldf’. The error code is: 8245. More details can be found in the error file: ‘C:\Users\username\AppData\Local\Temp\2\ldif.err'”.

Looking into the logfile shows this:

Entry DN: CN=ms-Exch-Mobile-Mailbox-Policy-Link, CN=Schema, CN=Configuration,DC=domain,DC=local

Add error on entry starting on line 358: Unwilling To Perform The server side error is: 0x2114 Schema update failed: An attribute with the same link identifier already exists.

The extended server error is: 00002114: SvcErr: DSID-032603BC, problem 5003 (WILL_NOT_PERFORM), data 8468

Research learns that this error happens  occasionally.

To fix the problem I followed the instructions explained in this Microsoft knowledge base article

To edit the .ldf files I copied the whole content of the Exchange 2010 DVD to the local disk and started from there. At first the PrepareSchema action failed again. I found out that for some reason the setup did not copied the file that I edited but used the default file. To solve this I started the PrepareSchema command and manually copied the file that I edited in the temporary directory that was created by the PrepareSchema command.

In total there were two attributes with a link identifier that already existed. Both attributes were related to the Exchange Mobile Mailbox object.