Ask a questionAsk a question
 

QuestionExchange 2007 SP2 /PrepareAD fails

  • Thursday, October 22, 2009 8:45 AMMaddas69 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi

    I am trying to update my Exchange 2007 SP1 installation to SP2. Configuration is as follows;

    1 * CAS/HUB (Windows 2008 RTM x64)
    2 * MAILBOX (Windows 2008 RTM x64)
    1 * IMPORT SERVER (Windows 2003 R2 x86)
    2 * ADC/DNS (Windows 2008 RTM)

    Configuration has been altered according to MS Whitepaper "Configuring Virtual Organizations and Address List Segregation in Exchange 2007".

    At first run the SP2 installation fails with the error
    [21.10.2009 12:05:58] [2] [ERROR] Active Directory operation failed on SERVER-ADC1.DOMAIN.asp. The object 'CN=Default Global Address List,CN=All Global Address Lists,CN=Address Lists Container,CN=<ORG>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=DOMAIN,DC=asp' already exists.

    I managed to narrow that error down to a problem with a classless Default Global Address List and I regenerated this through help from Steen Kirkby`s post in this thread:
    http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/f6270fda-1546-40f9-9551-d6f871b51fa6

    I also tried DSACLS /S but that failed with the error "The attribute is wrong".
    http://blogs.msdn.com/dgoldman/archive/2007/05/16/missing-permissions-on-the-address-lists-container-breaks-the-oab-generation-process.aspx

    After this I tried running setup /PrepareAD and that fails with the error:

    Performing Microsoft Exchange Server Prerequisite Check

     

        Organization Checks              ......................... COMPLETED

     

    Configuring Microsoft Exchange Server

     

    Organization Preparation         ......................... FAILED

    An unexpected error has occurred and debug information is being generated: Unex

    pected error [0x50B6988] while executing command '$error.Clear(); foreach ($lcid

    in (get-DsnSupportedLanguages)) { $lcidStr = $lcid.ToString([System.Globalizati

    on.NumberFormatInfo].InvariantInfo); install-Container -Name:"Transport Settings

    ","DSN Customization",$lcidStr -DomainController $RoleDomainController; install-

    Container -Name:"Transport Settings","DSN Customization",$lcidStr,"Internal" -Do

    mainController $RoleDomainController; install-Container -Name:"Transport Setting

    s","DSN Customization",$lcidStr,"External" -DomainController $RoleDomainControll

    er; }'.

    Unexpected error [0x50B6988] while executing command '$error.Clear(); forea

    ch ($lcid in (get-DsnSupportedLanguages)) { $lcidStr = $lcid.ToString([System.Gl

    obalization.NumberFormatInfo].InvariantInfo); install-Container -Name:"Transport

     Settings","DSN Customization",$lcidStr -DomainController $RoleDomainController;

     install-Container -Name:"Transport Settings","DSN Customization",$lcidStr,"Inte

    rnal" -DomainController $RoleDomainController; install-Container -Name:"Transpor

    t Settings","DSN Customization",$lcidStr,"External" -DomainController $RoleDomai

    nController; }'.

     

    Exchange Server setup encountered an error.

    I am a bit baffled here because it seems like plenty of changes has been done to my Active Directory and then the installation fails halfway through and potentionally ruining my Active Directory which is not good.

    Last entries in my Exchangesetup.log

    [22.10.2009 10:10:49] [1] Exception : Microsoft.Exchange.Configuration.MonadDataProvider.CommandExecutionException: Unexpected error [0x50B6988] while executing command '$error.Clear(); foreach ($lcid in (get-DsnSupportedLanguages)) { $lcidStr = $lcid.ToString([System.Globalization.NumberFormatInfo].InvariantInfo); install-Container -Name:"Transport Settings","DSN Customization",$lcidStr -DomainController $RoleDomainController; install-Container -Name:"Transport Settings","DSN Customization",$lcidStr,"Internal" -DomainController $RoleDomainController; install-Container -Name:"Transport Settings","DSN Customization",$lcidStr,"External" -DomainController $RoleDomainController; }'. ---> System.Management.Automation.MethodException: Multiple ambiguous overloads found for "ToString" and the argument count: "1".
       at System.Management.Automation.Adapter.GetBestMethodAndArguments(String methodName, MethodInformation[] methods, Object[] arguments, Object[]& newArguments, Int32& bestMethodIndex)
       at System.Management.Automation.DotNetAdapter.MethodInvokeDotNet(String methodName, Object target, MethodInformation[] methodInformation, Object[] arguments)
       at System.Management.Automation.Adapter.BaseMethodInvoke(PSMethod method, Object[] arguments)
       at System.Management.Automation.ParserOps.CallMethod(Token token, Object target, String methodName, Object[] paramArray, Boolean callStatic, Object valueToSet)
       at System.Management.Automation.MethodCallNode.InvokeMethod(Object target, Object[] arguments, Object value)
       at System.Management.Automation.MethodCallNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)
       at System.Management.Automation.AssignmentStatementNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)
       at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Configuration.MonadDataProvider.MonadCommand.ClosePipeline(MonadAsyncResult asyncResult)
       at Microsoft.Exchange.Configuration.MonadDataProvider.MonadCommand.EndExecute(MonadAsyncResult asyncResult)
       at Microsoft.Exchange.Management.Deployment.ComponentInfoBasedTask.ExecuteScript(String script, Boolean handleError, Int32 subSteps, LocalizedString statusDescription)
       at Microsoft.Exchange.Management.Deployment.ComponentInfoBasedTask.GenerateAndExecuteTaskScript(InstallationCircumstances installationCircumstance)
    [22.10.2009 10:10:49] [1] [WARNING] An unexpected error has occurred and debug information is being generated: Unexpected error [0x50B6988] while executing command '$error.Clear(); foreach ($lcid in (get-DsnSupportedLanguages)) { $lcidStr = $lcid.ToString([System.Globalization.NumberFormatInfo].InvariantInfo); install-Container -Name:"Transport Settings","DSN Customization",$lcidStr -DomainController $RoleDomainController; install-Container -Name:"Transport Settings","DSN Customization",$lcidStr,"Internal" -DomainController $RoleDomainController; install-Container -Name:"Transport Settings","DSN Customization",$lcidStr,"External" -DomainController $RoleDomainController; }'.
    [22.10.2009 10:10:49] [1] [ERROR] Unexpected error [0x50B6988] while executing command '$error.Clear(); foreach ($lcid in (get-DsnSupportedLanguages)) { $lcidStr = $lcid.ToString([System.Globalization.NumberFormatInfo].InvariantInfo); install-Container -Name:"Transport Settings","DSN Customization",$lcidStr -DomainController $RoleDomainController; install-Container -Name:"Transport Settings","DSN Customization",$lcidStr,"Internal" -DomainController $RoleDomainController; install-Container -Name:"Transport Settings","DSN Customization",$lcidStr,"External" -DomainController $RoleDomainController; }'.
    [22.10.2009 10:10:49] [1] [ERROR] Multiple ambiguous overloads found for "ToString" and the argument count: "1".
    [22.10.2009 10:10:49] [1] [ERROR] Unexpected error [0x50B6988] while executing command '$error.Clear(); foreach ($lcid in (get-DsnSupportedLanguages)) { $lcidStr = $lcid.ToString([System.Globalization.NumberFormatInfo].InvariantInfo); install-Container -Name:"Transport Settings","DSN Customization",$lcidStr -DomainController $RoleDomainController; install-Container -Name:"Transport Settings","DSN Customization",$lcidStr,"Internal" -DomainController $RoleDomainController; install-Container -Name:"Transport Settings","DSN Customization",$lcidStr,"External" -DomainController $RoleDomainController; }'.
    [22.10.2009 10:10:49] [1] [ERROR] Unexpected error [0x50B6988] while executing command '$error.Clear(); foreach ($lcid in (get-DsnSupportedLanguages)) { $lcidStr = $lcid.ToString([System.Globalization.NumberFormatInfo].InvariantInfo); install-Container -Name:"Transport Settings","DSN Customization",$lcidStr -DomainController $RoleDomainController; install-Container -Name:"Transport Settings","DSN Customization",$lcidStr,"Internal" -DomainController $RoleDomainController; install-Container -Name:"Transport Settings","DSN Customization",$lcidStr,"External" -DomainController $RoleDomainController; }'.
    [22.10.2009 10:10:49] [1] [ERROR] Multiple ambiguous overloads found for "ToString" and the argument count: "1".

    Sorry for the long post.

All Replies

  • Friday, October 23, 2009 8:22 AMXiu Zhang - MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    We may need to grant reset the permissions on GAL

    Similar thread to share with you:

    Exchange 2007 sp2 & Organization Preparation error: the object cn=,cn=,does not exist

    http://social.technet.microsoft.com/Forums/en/exchangesoftwareupdate/thread/2c76e515-7025-437f-9621-de3285c19835

    Regards,
    Xiu
  • Wednesday, October 28, 2009 2:40 PMMaddas69 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Xiu

    I am past the problem addressed in the thread you are referring to. Although I can`t get the DSACLS /S to work as Hvarnes did in the other thread I used Steen Kirkbys tip (in this thread http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/f6270fda-1546-40f9-9551-d6f871b51fa6) to regenerate the Default Global Address List and instead of restricting permissions to "Authenticated Users" (as the article "Configuring Virtual Organizations and Address List Segregation in Exchange 2007" tells me to do) I restricted it to the "All Hosted Groups SG" group as Steen Kirkby suggested.

    Regenerating the Default Global Address List gets rid of the error

    [ERROR] Active Directory operation failed on SERVER-ADC1.DOMAIN.asp. The object 'CN=Default Global Address List,CN=All Global Address Lists,CN=Address Lists Container,CN=<ORG>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=DOMAIN,DC=asp' already exists.

    So far so good and I ran setup /PrepareAD again and then I got the second error above (Organization Preparation...................FAILED and so on).

    So the problem is not permissions on the GAL anymore, setup fails AFTER the AD preparation has started as you can see my ExchangeSetup.log shows above.

    Regards
    Stein