ISS and OWA Damaged on Exchange 2007 Server

I had a really nasty crash on my Exchange 2007 server the other day.
Here is the Technet "Disaster Recovery Procedures" to help you fix a crash:
http://technet.microsoft.com/en-us/library/aa998890(EXCHG.80).aspx

I was able to use the recovery tools to fix the databases, but OWA and IIS were toast.
You can recover your database with Eseutil /R (Recovery Mode).
See help here:
http://technet.microsoft.com/en-us/library/bb123479(EXCHG.80).aspx

One of my first issues was to repair WMI. That worked fine, but then IIS was still damaged.
Here is a batch script that i found that fixes that:

net stop winmgmt
c:
cd %windir%\system32\wbem
rd /S /Q
repository
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s
%systemroot%\system32\userenv.dll
mofcomp cimwin32.mof
mofcomp
cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %%s in (’dir /b
/s *.dll’) do regsvr32 /s %%s
for /f %%s in (’dir /b *.mof’) do mofcomp
%%s
for /f %%s in (’dir /b *.mfl’) do mofcomp %%s
mofcomp
-n:root\cimv2\applications\exchange wbemcons.mof
mofcomp
-n:root\cimv2\applications\exchange smtpcons.mof
mofcomp
exmgmt.mof
mofcomp exwmi.mof
net start winmgmt

Then I had to fix the transport database. See help here:
http://technet.microsoft.com/en-us/library/bb217853(EXCHG.80).aspx

The next step was to remove and re-install IIS and then reinstall the CAS role and use the Exchange shell to re-install OWA and ActiveSync.
Technet help on that here:
http://support.microsoft.com/kb/320202

None of this worked, and my OWA and ActiveSync are still down.

I'm using the Test-OwaConnectivity cmdlet to test the OWA that I have now:
http://technet.microsoft.com/en-us/library/aa997682(EXCHG.80).aspx
It tells me this:
The test was unable to establish a connection to Outlook Web Access.
Not very helpful.

OAB (Address book) seems to work, so I don't think it's IIS.

I did find two technet MVPs that say that if you screw up IIS on Exchange 2007 that you may as well just format the box and start over. Great....

I'll post more as I go along.

Comments

Popular Posts