We help IT Professionals succeed at work.

Second Client Access Server Role Installation Error

JimGT
JimGT asked
on
1,931 Views
Last Modified: 2012-05-11
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
Comment
Watch Question

This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
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?

Author

Commented:
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.
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

Author

Commented:
That was the issue. What are the commands to make those changes?
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
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.