Avatar of JimGT
JimGT
 asked on

Second Client Access Server Role Installation Error

I have a new build out of Exchange 2010 sp1 with CAS, Hub and Mailbox on one physical server (no other roles).

When trying to add another CAS on Hyper-V, the installation failed and I had to start from scratch because I wasn't able to uninstall (had to remove from AD/Schema and reset the account).

Having all of the pre-reqs AFAIK, I get the following error:

    Client Access Server Role                                                                                                                FAILED
     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.".


The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.

Exchange Server setup encountered an error.

Thanks,

JimGT
Exchange

Avatar of undefined
Last Comment
e_aravind

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
e_aravind

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
JimGT

ASKER
Thanks for your response.

I had run the install from a command line:

SETUP.com /Mode:Install /roles:"C" /InstallWindowsComponents

This is supposed to install all the pre-reqs. It looks as if the installeer attempted tp create a Site called SITE_1 but I get an error saying 'The application '/" does not exist.'

I do have a CAS role on another server and was thinking this might be related to not being able to export the default self-signed certificate that is created on the first CAS install.

However, I am not able to find any reference to Application Host.config DLL file:  <add name="exppw" image="C:\Program Files\Microsoft\Exchsrvr\ClientAccess\Owa\auth\exppw.dll" />

Perhaps I am missing something in your suggestion? Can you advise with a bit more detail?
JimGT

ASKER
I think the problem is that Exchange 2010 sp1 expects the Default Web Site to be named exactly as it is, and if it is changed you have to do a bare-metal install. I am doing just that since it is a VM and will let you know the result.
e_aravind

Yes, Setup would be expecting the IIS site with the name "Default Web Site" exactly same.

In case if we need to change the site...after installation we have the powershell commands to rehome the exchange folders to the second-site
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
JimGT

ASKER
That was the issue. What are the commands to make those changes?
e_aravind

if you want to have OWA @ second web site

Note: "WebSiteName" is the key to move\create these exchange v.directories @ the second web-site.

New-OwaVirtualDirectory
http://technet.microsoft.com/en-us/library/bb123752(EXCHG.80).aspx

WebSiteName
 Optional
 System.String
 This parameter specifies the name of the IIS Web site under which the Outlook Web Access virtual directory is created.
 
New-AutodiscoverVirtualDirectory
http://technet.microsoft.com/en-us/library/bb123983(EXCHG.80).aspx

New-WebServicesVirtualDirectory
http://technet.microsoft.com/en-us/library/bb125176(EXCHG.80).aspx

New-ActiveSyncVirtualDirectory
http://technet.microsoft.com/en-us/library/aa997160(EXCHG.80).aspx

New-OABVirtualDirectory
http://technet.microsoft.com/en-us/library/bb123735(EXCHG.80).aspx