Error when installing Exchange 2007

Posted on 2009-04-30
Last Modified: 2012-05-06
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://' 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
Question by:thecomputerdocs
    LVL 4

    Accepted Solution

    * 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.
    LVL 7

    Assisted Solution

    (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 (
    (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 ( 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........ /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.

    LVL 5

    Author Closing Comment

    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.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    "Migrate" an SMTP relay receive connector to a new server using info from an old server.
    Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
    In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
    To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now