• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1642
  • Last Modified:

Error when installing Exchange 2007

When attempting to perform a fresh install of Exchange 2007, I get this message:
Summary: 5 item(s). 3 succeeded, 1 failed.
Elapsed time: 00:10:47

Copy Exchange Files

Elapsed Time: 00:02:43

Management Tools

Elapsed Time: 00:00:23

Hub Transport Role

Elapsed Time: 00:05:00

Client Access Role

An error occurred while creating the IIS virtual directory 'IIS://msxGMCF.gmcf.org/W3SVC/1/ROOT/owa' on 'MSXGMCF'.

Could not load file or assembly 'Microsoft.Web.Administration, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Elapsed Time: 00:02:39

Mailbox Role
2 Solutions
* Re-install IIS Service Management. It seems IIS is either not installed or is having problem with existing installation.
* Delete OWA Virtual Directory from IIS.
* Start installation again.
aslamsurveTeam LeadCommented:
(1) Remove any server roles (CAS & HUB Tranport) if installed from the Add/Remove programs
(2) If you get errors while un-installing the server roles then take a backup of the registry, navigate to the following folder  in the registry (HKey_Local_Machine\Software\Microsoft\Exchange\V8.0) then delete the remaining folders) however if it's a clean un-installation then don't follow this step.
(3) Restart the server
(4) In-case if the OS in windows 2003 server
(5) Un-install IIS 6.0
(6) Restart the server
(7) Install IIS 6.0
(8) Re-apply Windows 2003 service pack (mostly SP2)
(9) Start the installation of the server roles & check if the installation completes successfully
(10) You have not mentioned the OS of the server however i am considering the Windows 2003 server OS.
(11) In-case if it is Windows 2008 OS then we need to format the hard-drive & re-install Windows 2008
OS & follow the pre-requisites (http://technet.microsoft.com/en-us/library/bb691354.aspx)
(12) In-case if the OS is Windows 2003 & again if you get the same error message during the mailbox role then please install the windows 2003 support tools from (www.microsoft.com/downloads/details.aspx?FamilyID=96a35011-fd83-419d-939b-9a772ea2df90) then type adsiedit.msc in the C:\Program Files\Windows Support Tools then please navigate to CN=Configuration Partition,DC=Domain,DC=com=>CN=Services=>CN=Microsoft Exchange=>CN=Name of Exchange Organization=>CN=Administrative Groups=>CN=Exchange Administrative Group (FYDIBOHF23SPDLT)=>CN=Servers=>CN=Name of the Exchange server
(13) Right click exchange server folder in adsiedit.msc & check the attributes msExchInstallPath & msExchDataPath... msExchInstallpath should point to the target location were exchange is going to installed...msExchDataPath is the location were mailbox role is going to installed.
If these paths are in-correct change accordingly to your target directories...
If these path are correct then begin the installation using the command-prompt by the following syntax........
......Setup.com /mode:install /role:Mailbox,HubTransport,clientaccess
/EnableErrorReporting /DomainController:FQDN of Win2k3 DC /LegacyRoutingServer:FQDN
of Exchange 2000 or 2003 server /EnableLegacyOutlook /TargetDir:"D:\Program Files\Microsoft\Exchange Server" ..........
Make changes to the syntax as per the drives if /TargetDir is C:\ then change it C:\Program Files\Microsoft\Exchange Server" also don't add the /LegacyRoutingServer:FQDN of Exchange 2000 or 2003 server  if don't have Exchange 2000 or 2003 server in your environment.

thecomputerdocsAuthor Commented:
I ended up having to call MS support on this one. They used a long series of commands in powershell to remove and reinstall Exchange. We didn't have to remove IIS, but there were mods that had to be made to it.
Key note: Aslamsurve's comment of removing the roles from within add/remove programs was key in a reinstall. You can't remove it from the setup alone. Thanks for the help everyone.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now