none
Exchange 2010 install

    Question

  • In our lab I’m trying to install an Exchange 2010, on a W2k8 r2 64bit (physical hardware). I would like to join it to our Exchange 2003 Org.

     

    Lab settings:

    Single DC, this is the FSMO server, also the domain exchange account is in Enterprise and Schema Admins groups.

    Two Exchange 2003 servers with 600 mailboxes.

     

    On the new Exc2010 server prerequistes have been installed:

    .Net 3.5.1

    Office Filter Pack

    NetTcp port set to auto

    Import-Module ServerManager and Add-WindowsFeatures installed.

     

    I’ve tried both Typical and Custon Installations, the Readiness Checks runs.

     

    Organization Prereqs, Completed with a Yellow !

    Warning:

    Setup is goimng tp prepare for Exchange 2010 by using Setup /PrepareAD. No Exchange 2007 server roles have been detected….

    This looks like a standard msg.

     

    The next three completed successfully with Green checks

     

    Mailbox role Prereq: Completed with Yellow !

    Warning:

    If MS Outlook 2003 is in use, you should replicate free and busy….

    Again, this looks like a non-show stopper.

     

    Continued with the Install. It stops at the Org Preparation, with error msg.

     

    ·                                 Error:
    The following error was generated when "$error.Clear(); install-ExchangeSchema -LdapFileName ($roleInstallPath + "Setup\Data\"+$RoleSchemaPrefix + "schema0.ldf")" was run: "There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\PostWindows2003_schema0.ldf'. The error code is: 8206. More details can be found in the error file: 'C:\Users\administrator.TKA\AppData\Local\Temp\ldif.err'".

    There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\PostWindows2003_schema0.ldf'. The error code is: 8206. More details can be found in the error file: 'C:\Users\administrator.TKA\AppData\Local\Temp\ldif.err'

     

     

    Thanks, Tony

     

     

     

     

     

    Thursday, April 08, 2010 7:15 PM

All replies

  • There should be an error log in the %temp% directory called LDIF.ERR that contains the details of the error. Take a look at that log file for more information.  Also, make sure you have Schema admin permission.

    This error (8206) generally means AD replication or related issues.  Make sure you can access all DCs and replication is working. 

    Also, here is my one of my old articles:

    http://portal.sivarajan.com/2009/05/my-first-peek-into-microsoft-exchange.html

     


    Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX http://blogs.sivarajan.com/ http://publications.sivarajan.com/ This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, April 08, 2010 9:45 PM
  • Thank you for the reply back. At first I didn't have the Domain Exchange account in the Schema admin group, this I got resolved. I only have one DC setup in our lab, do I need all of our DC's setup??

    I'll review the log.

    Regards,

    TZ

    Friday, April 09, 2010 12:53 PM
  • No you don’t need more one DC. You can start with one.  Make sure the account you are using has proper permissions.  Here is a good reference article:

    http://technet.microsoft.com/en-us/library/bb691354.aspx

     


    Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX http://blogs.sivarajan.com/ http://publications.sivarajan.com/ This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, April 09, 2010 2:25 PM
  • Santhosh,

    Thanks for all your help. I found the error log and it said it had trouble replicating to another DC, so built a 2nd DC.

    I had one other problem with the install, it appears you need the Windows Firewall started. Installed completed.

    Thanks again, Best Regards,

    TZ

    Friday, April 09, 2010 7:30 PM
  • Yes. You need to fix the AD replication issues first.  Then try the Exchange installation. 


    Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX http://blogs.sivarajan.com/ http://publications.sivarajan.com/ This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, April 09, 2010 11:13 PM
  • Thank you for all sharing!

     

    Have you any updates?

     

     

     

     

     


    Your expertise never fails to impress :)
    Monday, April 12, 2010 6:29 AM
  • Any update on the issue?
    Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX http://blogs.sivarajan.com/ http://publications.sivarajan.com/ This posting is provided "AS IS" with no warranties, and confers no rights.
    Saturday, June 12, 2010 3:35 AM
  • Hi all,

    I have a similar issue. 2 server 2008 r2 full patched. One is the DC the other one should be the exchange 2010 r2. When I run the setup I get over all the prerequisites but when the setup launch the real installation after about 2 sec I get this error:

    Summary: 13 item(s). 0 succeeded, 1 failed.
    Elapsed time: 00:00:02


    Organization Preparation
    Failed

    Error:
    The following error was generated when "$error.Clear();
     install-ExchangeSchema -LdapFileName ($roleInstallPath + "Setup\Data\"+$RoleSchemaPrefix + "schema0.ldf")

    " was run: "There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\PostWindows2003_schema0.ldf'. The error code is: 31. More details can be found in the error file: 'C:\Users\administrator.XXX\AppData\Local\Temp\2\ldif.err'".

    There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\PostWindows2003_schema0.ldf'. The error code is: 31. More details can be found in the error file: 'C:\Users\administrator.XXX\AppData\Local\Temp\2\ldif.err'
    Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.218.11&e=ms.exch.err.Ex88D115&l=0&cl=cp

    Thanks

    Monday, November 22, 2010 3:43 PM
  • Check the permission on your account
    Run Setup.com /ps Setup.com /pl and Setup.com /preparead

    Make sure you are running CommandPrompt as Administrator


    Gulab | Skype: gulab.mallah
    Sunday, November 28, 2010 7:49 AM
  • First prepare schema, on DC that is Schema Master FSMO role. User should have Schema Admin Right.

    Run:

    -          setup /PrepareLegacyExchangePermissions

    -          setup /PrepareSchema

    -          setup /PrepareAD

    If it fails, than you do not have permission on schema or Exchange 2003 organization.

    Run following command on DC, to see replication status :

    Repadmin /syncall /A /e /P

    Repadmin /replsummary

    Repadmin /showrepl *

    Sunday, November 28, 2010 8:33 PM
  • Were you ever able to resolve this? I am encountering the exact same issue w/ error code 31 when it tries to run ldifde to extend schema. All checks and prereqs passed successfully. Anyone, anyone??
    Tuesday, February 01, 2011 4:53 PM
  • Did anyone resolve this? I'm also facing this problem with error code 31.

    I was able to track down, that it is only a media with SP1 problem. When I tried with RTM media, the setup /prepareschema was successfully ran. But if I try SP1 media it fails. I downloaded SP1 media from vlsc and from MSDN, but with both of those medias the problem remains.

    So, is the only possibility to use RTM media, and upgrade to SP1 after installation? Or has someone found a way to use SP1 media also?

    Regards,

    Jouko

    Thursday, March 24, 2011 12:03 PM
  • As to another post, my last comment can be ignored.

     The problem was caused by Winzip, as I used it to unpack the ISO-files. Seems that it couldn't unpack all as they should. Iwas even able to start the setup, select languages, select install, but when the license page showed up, it was scrambled text.

    But thanks anyway.

    Regards,

    Jouko

    Thursday, March 24, 2011 1:49 PM
  • I Agree with MaliStane - I had this exact problem myself last week and this is how I fixed it:

     

    Exchange 2010 Install Error - There was an error while running 'ldifde.exe'

     

    Pete
    PeteNetLive 

    • Proposed as answer by zubmu Wednesday, January 18, 2012 6:04 PM
    • Unproposed as answer by zubmu Wednesday, January 18, 2012 6:04 PM
    Tuesday, May 10, 2011 11:12 AM
  •  

     

    Thanks MaliStane for post it help me to resolve the error

     

    regards

    zubi

    • Proposed as answer by shoughland Thursday, March 08, 2012 2:44 PM
    Wednesday, January 18, 2012 6:13 PM
  • I was having a very similar problem and none of the above recommendations or solutions were working for me.  I was able to install Exchange2007, but NOT 2010  I had extracted the ISO, (*exchange2010sp1), local to the member server I was going to be installing to and was consistently failing on 'setup /PrepareSchema', with this error:

    Extending Active Directory schema                         FAILED
         The following error was generated when "$error.Clear();
            install-ExchangeSchema -LdapFileName ($roleInstallPath + "Setup\Data\"+$
    RoleSchemaPrefix + "schema0.ldf")

    " was run: "There was an error while running 'ldifde.exe' to import the schema f
    ile 'C:\Windows\Temp\ExchangeSetup\Setup\Data\PostWindows2003_schema0.ldf'. The
    error code is: 31. More details can be found in the error file: 'C:\Users\Admini
    strator.HBA-AD-DC01\AppData\Local\Temp\2\ldif.err'"

     

    The failure logs reported this:

    Connecting to "HBA-AD-DC1.HBA-AD-BRM.com"
    Logging in as current user using SSPI
    Importing directory from file "C:\Windows\Temp\ExchangeSetup\Setup\Data\PostWindows2003_schema0.ldf"

    Loading entries
    There is a syntax error in the input file
    Failed on line 0. The last token starts with '1'.
    0 entries modified successfully.
    An error has occurred in the program

    second one:

    There is a syntax error in the input file
    Failed on line 0. The last token starts with '1'.
    An error has occurred in the program

    What worked for me was one of our IT guys had an MSDN subscription and downloaded Exchange 2010sp2, which I guess was just recently released.  I read in another post someone, also experiencing this issue, was able to install the RTM Exchange2010 and  then apply the SP, so this most likely would have worked for me as well.  The ISO with SP1 failed to install for me in 3 different Active Directory Test Lab environments, with different hardware, different versions of Windows for the Domain controllers, different AD Levels and on both physical and Virtual member servers.   I've included all of the failure text above in the hopes that anyone searching on this, will come up with my post and save a few brain cells in getting this resovled because it really shouldn't be this difficult to find an answer that would appear to be something simple to report accurate on in a log or failure entry.

    Good luck, and take care

    Steve

    • Proposed as answer by RameshGG Monday, September 17, 2012 7:46 AM
    • Unproposed as answer by RameshGG Monday, September 17, 2012 7:46 AM
    Thursday, March 08, 2012 2:57 PM
  • There is a syntax error in the input file

    Failed on line 1.  The last token starts with ''''.

    An error has occurred in the program

    Connecting to "DC-1.Domain.com"

    Logging in as current user using SSPI

    Importing directory from file "C:\Windows\Temp\ExchangeSetup\Setup\Data\PostExchange2003_schema0.ldf"

    Loading entries
    There is a syntax error in the input file

    Failed on line 1.  The last token starts with ''.

    0 entries modified successfully.

    An error has occurred in the program

    SAME ISSUE facing with the newly downloaded 4.54 GB setup from MS VLC center.

    • Proposed as answer by Paul P Jose Thursday, November 01, 2012 4:54 AM
    • Unproposed as answer by Paul P Jose Thursday, November 01, 2012 4:54 AM
    • Edited by Paul P Jose Thursday, November 01, 2012 4:58 AM Dear All i tried all ways to prepare schema nad AD but failed then i downloaded new Exchange 2010 setup with out service pack , an thank god it is working fine
    Wednesday, October 31, 2012 10:54 AM
  • Dear All i tried all ways to prepare schema nad AD but failed then i downloaded new Exchange 2010 setup with out service pack , an thank god it is working fine
    • Proposed as answer by Paul P Jose Thursday, November 01, 2012 4:57 AM
    Thursday, November 01, 2012 4:57 AM