RO Exchange blogging @ EHL(R)O

RO Exchange engineers share news or just interesting solutions with you

Setup for Exchange 2010 Service Pack 1 failing with : “Process execution failed with exit code 1168”

Setup for Exchange 2010 Service Pack 1 failing with : “Process execution failed with exit code 1168”

  • Comments 8
  • Likes

Consider the following Scenario:

 

You have an Exchange 2010 Organisation. When you try to install for Example Service Pack 1, Setup fails with exit code 1168.

 

We see this in many cases, error 1168 is a generic error.

 

When you examine the ExchangeSetup.log file on the C Drive ( C:\ExchangeSetupLogs) you find the following:

 

[11.08.2010 13:42:11.0906] [2] Starting: C:\Windows\System32\inetsrv\appcmd.exe with arguments: add module /name:exppw /app.name:"Default Web Site/owa"

[11.08.2010 13:42:12.0109] [2] Process standard output: ERROR ( message:Cannot find APP object with identifier "Default Web Site/owa". )

 

[11.08.2010 13:42:12.0109] [2] Process standard error:

[11.08.2010 13:42:12.0155] [2] [ERROR] Unexpected Error

[11.08.2010 13:42:12.0155] [2] [ERROR] Process execution failed with exit code 1168.

[11.08.2010 13:42:12.0155] [2] Ending processing Start-SetupProcess

[11.08.2010 13:42:12.0155] [1] The following 1 error(s) occurred during task execution:

[11.08.2010 13:42:12.0155] [1] 0.  ErrorRecord: Process execution failed with exit code 1168.

[11.08.2010 13:42:12.0155] [1] 0.  ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskException: Process execution failed with exit code 1168.

[11.08.2010 13:42:12.0171] [1] [ERROR] The following error was generated when "$error.Clear();

          $CommandAppCmd = join-path $env:SystemRoot System32\inetsrv\appcmd.exe;

          $imagePath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess\Owa\auth\exppw.dll");

          Start-SetupProcess -Name "$CommandAppCmd" -args "install module /name:exppw /image:`"$imagePath`" /add:false" -IgnoreExitCode @(183);

          Start-SetupProcess -Name "$CommandAppCmd" -args "add module /name:exppw /app.name:`"Default Web Site/owa`"" -IgnoreExitCode @(183);

        " was run: "Process execution failed with exit code 1168.".

[11.08.2010 13:42:12.0171] [1] [ERROR] Process execution failed with exit code 1168.

[11.08.2010 13:42:12.0171] [1] [ERROR-REFERENCE] Id=ClientAccessOwaComponent___5effe7121e1740c083904cc189687464 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup

[11.08.2010 13:42:12.0171] [1] Setup is stopping now because of one or more critical errors.

[11.08.2010 13:42:12.0171] [1] Finished executing component tasks.

[11.08.2010 13:42:12.0296] [1] Ending processing Install-ClientAccessRole

 

The reason why this is happeing, is because you renamed the Default Web Site virtual directory in IIS.

 

The Exchange Setup needs this Default Web Site to be named like this to be able to install Service Pack 1.

 

The only way to get this working is by reinstalling the Servers. ( OS + Exchange ).

 

WE DO NOT RECOMMEND RENAMING THE Default Web Site Virtual Directory in IIS !

 

WE ALSO DON’T HAVE ANY WRITTEN DOCUMENTATION ABOUT HOW TO DO THIS BECAUSE THIS HAS NEVER BEEN TESTED.

 

If you have any questions, please send me an Email to patrisel@microsoft.com

 

Patrick

 

 

Comments
  • I got this error and i did not rename the IIS Default Web Site, I tried uninstalling and re-installing IIS and then the CAS Role and I got this error.

  • Alot of help this article is... it tells me that I did nothing wrong, it just borked.... why waste my time with a useless URL?

  • what a waste of the time . i dont have loot of time to reinstall all the system from the begining so i just renamed the iis7  name with  (Default Web Site ) & its ackward but it works

  • what a waste of the time . i dont have loot of time to reinstall all the system from the begining so i just renamed the iis7 sites that i did renamend in the begining  to the    name with  (Default Web Site ) & its ackward but it works / so folks just rename the iis7 site with the Default Web Site

  • shitttttt it turns out that it dint work

  • I received this error during the Exchange SP2 upgrade.  

    The default site had been renamed as a result of CA role having been installed.  However, renaming the IIS site back to "Default Site" and restarting IIS resolved the problem.  SP2 then successfully installed.   Then it was just a case of renaming the site back to "Certificate Authority" and everything worked.

  • I got the same error when upgrading to Exchange SP2 , no changes were made to the default site name. Any suggestions how to fix this?

    Process execution failed with exit code 1168”

    ================================================================================

    [10/10/2012 09:09:43.0402] [2] Process standard output: MODULE object "exppw" added

    ERROR (.  

    Transaction support within the specified resource manager is not started or was shut down due to an error.

    )

    [10/10/2012 09:09:43.0402] [2] Process standard error:

    [10/10/2012 09:09:43.0590] [2] [ERROR] Unexpected Error

    [10/10/2012 09:09:43.0590] [2] [ERROR] Process execution failed with exit code 6801.

    [10/10/2012 09:09:43.0590] [2] Ending processing Start-SetupProcess

    [10/10/2012 09:09:43.0590] [1] The following 1 error(s) occurred during task execution:

    [10/10/2012 09:09:43.0590] [1] 0.  ErrorRecord: Process execution failed with exit code 6801.

    [10/10/2012 09:09:43.0590] [1] 0.  ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskException: Process execution failed with exit code 6801.

    [10/10/2012 09:09:43.0808] [1] [ERROR] The following error was generated when "$error.Clear();

             $CommandAppCmd = join-path $env:SystemRoot System32\inetsrv\appcmd.exe;

             $imagePath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess\Owa\auth\exppw.dll");

             Start-SetupProcess -Name "$CommandAppCmd" -args "install module /name:exppw /image:`"$imagePath`" /add:false" -IgnoreExitCode @(183);

             Start-SetupProcess -Name "$CommandAppCmd" -args "add module /name:exppw /app.name:`"Default Web Site/owa`"" -IgnoreExitCode @(183);

           " was run: "Process execution failed with exit code 6801.".

    [10/10/2012 09:09:43.0808] [1] [ERROR] Process execution failed with exit code 6801.

    [10/10/2012 09:09:43.0808] [1] [ERROR-REFERENCE] Id=ClientAccessOwaComponent___5effe7121e1740c083904cc189687464 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup

    [10/10/2012 09:09:43.0808] [1] Setup is stopping now because of one or more critical errors.

    [10/10/2012 09:09:43.0808] [1] Finished executing component tasks.

    [10/10/2012 09:09:44.0027] [1] Ending processing Install-ClientAccessRole

    [10/10/2012 09:11:03.0629] [0] End of Setup

    [10/10/2012 09:11:03.0629] [0] *

    ========================================================================

  • I got the same error an 1168 and had a customized name for the default web site. Renamed it back to "Default Web Site" and that fixed the error.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment