Exchange 2010 Install Error – There was an error while running ‘ldifde.exe’

KB ID 0000442

Problem

While trying to install Exchange 2010, the process fails with the following error.

There was an error while running 'ldifde.exe

Organization Preparation
Failed
Error:
The following error was generated when "$error.Clear();
install-ExchangeSchema -LdapFileName ($roleInstallPath + "SetupData"+$RoleSchemaPrefix 
+ "schema0.ldf")
" was run: "There was an error while running 'ldifde.exe' to import the schema file 'C:WindowsTempExchangeSetupSetupDataPostWindows2003_schema0.ldf'. The error code is: 
8224. More details can be found in the error file: 'C:Usersadministrator.{your-domain}
AppDataLocalTemp2ldif.err'".
There was an error while running 'ldifde.exe' to import the schema file 'C:WindowsTempExchangeSetupSetupDataPostWindows2003_schema0.ldf'. The error code is: 
8224. More details can be found in the error file: 'C:Usersadministrator.{your-domain}
AppDataLocalTemp2ldif.err'

Solution

1. The error is happening at the “Organization Preparation” stage, so let’s go ‘old school’ and do that manually.

2. Locate the server on your network that is the schema master (Locate FSMO Servers).

3. Put the Exchange 2010 DVD in the schema master (Or share it over the network and connect to it from the schema master server).

4. Drop to command line and change to the DVD Drive/Directory with the Exchange 2010 setup files in it.

5. ONLY do this if you have Exchange 2003 already! Run the following command, (If no Exchange 2003 present, skip to the next step).

Setup /PrepareLegacyExchangePermissions

Exchange Legacy Permissions

6. Run the following command:

Setup /PrepareSchema

Prepareshema

7. Run the following command:

Setup /PrepareAD

Note: At this point it may fail, and say it requires an organization name, (it will do this if it finds no existing container in Active Directory).

Error Exchange organization name is required for this mode.  To specify an organization name, use the /organizationName parameter. 

If that is the case, then run the following command:

Setup /PrepareAD /OrganizationName:”Your required org name”

PrepareAD

8. Now try and install Exchange 2010, and it should progress without the original error.

exchange 2010 setup

 

Related Articles, References, Credits, or External Links

NA

Author: Migrated

Share This Post On