Answered by:
Exchange 2010 error installing CAS Role

Question
-
When installing Exchange 2010 CAS role on a fresh Windows 2008R2 hyper-v virtual server, installation bombs when trying to create the 'EWS' virtual directory. The error message suggests that this directory (IIS:///W3SVC/1/ROOT/EWS) may already exist in AD, but while investigating I cannot find any evidence that this is true. This is the first 2010 server being brought up alongside an existing Exchange 2003 organization. The domains were prepped with no errors, and the server itself has all required prerequisites installed.
When I run the command the installer is trying to run to create the EWS virtual directory at the command line in a power shell, I get the same error. If i use the get-webservicesvirtualdirectory cmdlet it reveals that the installer or command line method DID in fact create the virtual directories, yet the installation still fails. If i remove-webservicesvirtualdirectory and remove the EWS virtual directory, then re-run the installer, it bombs at the same point.
Here is the error mesage:
Client Access Role Failed Error: The following error was generated when "$error.Clear(); $urlToUse = "https://" + $RoleFqdnOrName + "/ews/exchange.asmx"; new-WebServicesVirtualDirectory -windowsAuthentication:$true -WSSecurityAuthentication:$true -InternalNLBBypassUrl $urlToUse -DomainController $RoleDomainController -Force -GzipLevel High;" was run: "The Active Directory object for virtual directory 'IIS://servername.domain.com/W3SVC/1/ROOT/EWS' on 'servername' could not be created. This might be because the object already exists in Active Directory. Remove the object from Active Directory, then re-create it.". The Active Directory object for virtual directory 'IIS://servername.domain.com/W3SVC/1/ROOT/EWS' on 'servername' could not be created. This might be because the object already exists in Active Directory. Remove the object from Active Directory, then re-create it. Unexpected Error
I am not really sure how to troubleshoot from here. Can anyone offer some advice? It almost seems that the directory is being created in AD, but somehow IIS is not seeing it, or something like this.
- Edited by BTruter Tuesday, December 8, 2009 5:56 PM
Thursday, December 3, 2009 7:27 PM
Answers
-
Today I re-downloaded the ISO file for Exchange 2010 I was using to install the CAS Role. Using this new ISO file, I was able to install the CAS role with no issues. I know this is not the greatest explanation, but hopefully it will help someone. I guess there was some corruption in the previous download.
The EMC console does not work after installation, but hey, thats another issue to tackle =P- Marked as answer by BTruter Wednesday, December 9, 2009 6:28 PM
Wednesday, December 9, 2009 6:27 PM
All replies
-
EDIT: Further investigation does seem to point to the installer creating the entries for all virtual directories in AD for the CAS role, but it cannot create them in IIS for the 'EWS' virtual directory for some reason. The others virtual directories up to that one it creates fine. I can verify this by looking in the IIS Manager and in the applicationHost.config file.
Can anyone shed some light on this issue, maybe? Thanks for any help anyone can provide.Tuesday, December 8, 2009 5:56 PM -
I am experiencing the exact same problem under similar circumstances: I, too, am trying to install Exchange 2010 on a Windows 2008R2 virtual server guest on a Hyper-V server. I get the same failure.
I am not sure why it would affect the creation or viewing of an IIS directory, but one thing I have considered (but that I have not tested) is that my domain is at the Windows 2008 R2 functional level. I have no need for older systems on my network, so when installing my new Active Directory, the 2008 R2 functional level made sense. Although it seems completely stupid that Microsoft would release a version of Exchange that does not work with a sensible installation of its latest server operating system, for some reason the Exchange 2010 prerequisite documents claim that only the 2003 functional level is supported.
I would love to get this resolved. Are any answers out there?Wednesday, December 9, 2009 4:58 PM -
Today I re-downloaded the ISO file for Exchange 2010 I was using to install the CAS Role. Using this new ISO file, I was able to install the CAS role with no issues. I know this is not the greatest explanation, but hopefully it will help someone. I guess there was some corruption in the previous download.
The EMC console does not work after installation, but hey, thats another issue to tackle =P- Marked as answer by BTruter Wednesday, December 9, 2009 6:28 PM
Wednesday, December 9, 2009 6:27 PM