Exchange 2007 - OWA suddenly stops working now IIS won't reinstall

Ok I have a bit of a mess on my hands.  I will try to document my progress as best I can.

Everything has been 100% fine up until 4/18 when Update Rollup 10 for Exchange Server 2007 SP1 (KB981407) was installed automatically and the server rebooted.

I uninstalled this update...rebooted.  Nothing.  IIS Admin service, www service and various other services that depend on "HTTP" don't start.

So then I uninstalled IIS thinking I could reinstall.  Well now I can't even install IIS or remove the CAS role.  Also other services that depend on "HTTP" such as the Print Spooler service still don't start.

I can try to provide more info it can help.  I do see a couple interesting events in the logs but nothing that's helped me solve the problem.  Exchange is still working fine... emails are going in and out but OWA is completely toast.

Process MSExchangeFDS.exe (PID=2784). Failed to read property Path from metabase object IIS:// OAB synchronization suspended.

Actually that's it right now.... I have cleared the logs so many times I don't really have much now :(
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

WVCAAuthor Commented:
This is the one error I noticed as well:

Code integrity determined that the image hash of a file is not valid.  The file could be corrupt due to unauthorized modification or the invalid hash could indicate a potential disk device error.

File Name:      \Device\HarddiskVolume1\Windows\System32\drivers\http.sys      
WVCAAuthor Commented:
        Verified:       Unsigned
        File date:      7:05 AM 11/9/2009
        Publisher:      Microsoft Corporation
        Description:    HTTP Protocol Stack
        Product:        Microsoft« Windows« Operating System
        Version:        6.0.6002.18136
        File version:   6.0.6002.18136 (vistasp2_gdr.091102-2300)
        Strong Name:    Unsigned
        Original Name:  http.sys.mui
        Internal Name:  http.sys
        Copyright:      ¬ Microsoft Corporation. All rights reserved.
        Comments:       n/a
        MD5:    6b08c8263eda9545bceaf3bcfd94201b
        SHA1:   f9e8510db7da475d1a69c7f4ffee29099b58a098
        SHA256: 7f6fb8d5dda9c259975fba3f2b22a3936e89eec099d9114be643548ee994785f
WVCAAuthor Commented:
I found this:

I hope there is a way around reinstalling the OS!
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

WVCAAuthor Commented:
Web Server (IIS): Installation failed

 <Error>: Attempt to install IIS Management Console failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Request Filtering failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install HTTP Logging failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Request Monitor failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Static Content Compression failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install HTTP Errors failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Static Content failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Default Document failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Directory Browsing failed with error code 0x80070643. Fatal error during installation

 The following role services were not installed:
Satya PathakLead Technical ConsultantCommented:
Unfortunately this is not a simple IIS setup error, IIS never returns failure during uninstall. The error code 0x80070643 indicates that at this point the CBS component store is corrupted with a failed transaction that it will forever try and process.  
Two things to try:

1) OS repair – insert media and start setup.exe,  then choose Upgrade

2) if that does not work then you will need to clean install OS

WVCAAuthor Commented:
I can't run setup.exe -> Upgrade... it gives an error saying I need to uninstall Exchange first.

I guess my only option is to setup another exchange server and migrate our mailboxes over... the reinstall the OS on our current server... the move everything back.

This is absolutely insane.  An update this weekend and forced reboot caused this problem which apparently cannot be fixed.... This is pretty much my last straw with exchange and Microsoft products in general.
Mahmoud SabrySenior IT Systems EngineerCommented:
as you reach to this situatuion, i suggest the following
1. install new OS with the same version like the old one, and give it the same name as the old server name
2.reset computer account in the domain,don't delete it
3. join the newly installed server to the domain
4. install all exchange server prerequisites
5. start installing exchange server in the recovery mode, to do so, browse to setup.exe in exchange 2007 installation media
open command prompt and type Setup.exe /mode:recoverserver

don't perform new installation with new name and fresh installation as this will take you to extra problems,and the old exchange server object will reside in active directory configuration database

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
WVCAAuthor Commented:

If I do this will I be able to leave the old server up so it can copy all the mailboxes over?  I'm assuming this is what recovery mode will do.  I'm about to start this process now.  I'm just worried everything is going to work how it should :(
WVCAAuthor Commented:
I forgot to add... I'm going to try to move this to a VM on another server... once it's up and running 100% I'd like to reinstall the OS on the original machine then move everything back.
Satya PathakLead Technical ConsultantCommented:
its okay..
is the server has another roles than CAS?, if it has mailbox server role, then you must take full backup of exchange databases first, then delete this server at all, then reinstall the server again in recovery mode.

what i need to see is that the server recovery setup  will not recover the database.
WVCAAuthor Commented:
Yes it has all the roles... we have only a single physical server for exchange.

What should I use the backup the maillboxes?

I need to start on this within an hour to have it ready by tomorrow morning.  I have another server setup with the same OS just waiting.

You're saying msabry06's solution would not copy the mailboxes over?
WVCAAuthor Commented:
Would it not be possible to install Exchange 2007 on a second server and migrate all the mailboxes over rather than trying to Setup.exe /mode:recoverserver?
Mahmoud SabrySenior IT Systems EngineerCommented:
yes you can install another exchange server with fresh installation and then move all mailboxes to it, and to do this you needn't to take bakup of the database

after that you will need to uninstall the old server from add remove programs to delete it completely from active directory database, but don't uninstall it untill u make sure all  work flow is ok
WVCAAuthor Commented:

In this case the new server wouldn't need the same name as it would for /mode:recoverserver right?
Mahmoud SabrySenior IT Systems EngineerCommented:
sure you must use new name for the installation you can use the normal GUI interface to install the server

note, here u mustnot install the server in the recovery mode, you must use fresh installation
WVCAAuthor Commented:
The struggle continues.  I didn't realize I used R2 media until I couldn't get exchanged installed.

So I've reinstalled yet again with a 2k8.  Now when I run setup off the Ex2k7 disk I get "The Exchange server is in an inconsistent state. Only reserver recovery mode is available.
WVCAAuthor Commented:
Still trying.  Can't even get a repair going... old exchange server is a DC and it won't demote properly so I can't reset the account... I'll keep working.
Mahmoud SabrySenior IT Systems EngineerCommented:

try this first

if this can't solve the issue, delete the new exchange server account using ADSIEdit.msc,the newly installed one not the old one
WVCAAuthor Commented:
Sorry I had to keep going... did get the recoverserver to work.  Now I'm trying to figure out how to get the database/mailboxes moved over from the old server.  We don't have a 3rd party backup utility so I'm trying to figure out a way to copy everything over if possible.

I did find this:

"It’s obvious that a recovered server with the Mailbox Server role must have the respective Mailbox and Public folder database restored from backup, or copied back from the disks on the old server (if possible). " 


Although it doesn't really say how to do so.
Mahmoud SabrySenior IT Systems EngineerCommented:
no i can't understand

but what i can say is that, if u will continue using recover server, then you must backup the database first of the exchange server, i don't know if the copy will restore the database or not

u must disconnect the old server completely from the network  and reset its account and follow the steps in the article

if u open ADSIEdit console and browse to the following location, what is the listed servers that u see there
Configuration > Services > Microsoft Exchange > Administrative Groups > Exchange Administrative Group (FYDIBOHF23SPDLT) > Servers

u should see the old server name only, can u see another servers
WVCAAuthor Commented:
OK.  Then I need to figure out how to backup the first exchange server database and restore it to the new server before moving on.

As of right now I completed the 5 steps you mentioned above.
Mahmoud SabrySenior IT Systems EngineerCommented:
yes, and can u see another servers in ADSIEdit rather than the old one?
WVCAAuthor Commented:
Also under ADSIEdit you mentioned.  I see both the old server and the new server listed.
Mahmoud SabrySenior IT Systems EngineerCommented:
then u begin the installatin in exchange server in a fresh copy of exchange not using recovery mode, am i right?
WVCAAuthor Commented:
No I did exactly as your instructions say.  It wouldn't let me do anything but recovery mode :(  
WVCAAuthor Commented:
E:\>setup /mode:recoverserver

Welcome to Microsoft Exchange Server 2007 Unattended Setup

Preparing Exchange Setup

The following server roles will be recovered
    Hub Transport Role
    Client Access Role
    Mailbox Role
    Management Tools

Performing Microsoft Exchange Server Prerequisite Check

    Hub Transport Role Checks        ......................... COMPLETED
    Client Access Role Checks        ......................... COMPLETED
    Mailbox Role Checks              ......................... COMPLETED

Configuring Microsoft Exchange Server

    Copying Exchange files           ......................... COMPLETED
    Hub Transport Server Role        ......................... COMPLETED
    Client Access Server Role        ......................... COMPLETED
    Mailbox Role                     ......................... COMPLETED
    Exchange Management Tools        ......................... COMPLETED

The Microsoft Exchange Server setup operation completed successfully.
Setup has made changes to operating system settings that require a reboot to tak
e effect. Please reboot this server prior to placing it into production.
WVCAAuthor Commented:
Would it be possible to shut down the new machine.  Then using adsiedit delete the new machine out of there.  This would leave things as they were before I started?  I think I will have to call someone in to do this for me that has more experience.
WVCAAuthor Commented:
I have to figure something quick we open in 2 hours.  If I can get back to where I was before that would be fine.  I'm sorry for all the confusion :(
Mahmoud SabrySenior IT Systems EngineerCommented:
now the old Server is disconnected from the network, and mustn't be returned back

the next step now is to restore databases from the backup
WVCAAuthor Commented:
The old server is still connected to the network.  I don't have a backup of anything because I don't have a way of backing it up (No 3rd party program).  I'm not really sure what to do... I think I'm in big trouble here.
WVCAAuthor Commented:
Ok wait.  I was able to get the database mounted on the new server.  I think I may be getting somewhere now.  
Mahmoud SabrySenior IT Systems EngineerCommented:
how this?
what is the name for old server and new server?
i hope they are different
WVCAAuthor Commented:
I have no clue what I've done but I now have the old server off the network and the new server is working somewhat.  I still have some things to troubleshoot but all our mailboxes are fine and we're receiving email from the internet
Mahmoud SabrySenior IT Systems EngineerCommented:
yes, but where is their mailboxes is it in the old server or in the new server

it just show up in Exchange management console because their exchange properties not changed in Active directory

let me know what will happen when u try to open mailbox of some one through OWA
WVCAAuthor Commented:
I copied over the database from the old server to the new server.  It's in the same exact location on the new server as it was the old server if that matters.

Confirmed through OWA that my mailboxes are working perfect!

I still have some things to troubleshoot but my original problem is fixed.  Email is coming in from internet but not going out yet and our SSL cert is not working properly.  All things I can fix :)
Mahmoud SabrySenior IT Systems EngineerCommented:
Really thanks to god that this work

to make emails go out you must create send connector(if not created) and make sure the new server is present in the source servers tab properties of send connector

for How to configure SSL, to get the commands go to
WVCAAuthor Commented:
Thanks!  I really appreciate all your help!
Mahmoud SabrySenior IT Systems EngineerCommented:
you are welcome
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.