Friday, February 27, 2015

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%system32wbem
rd /S /Q
repository
regsvr32 /s %systemroot%system32scecli.dll
regsvr32 /s
%systemroot%system32userenv.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:rootcimv2applicationsexchange wbemcons.mof
mofcomp
-n:rootcimv2applicationsexchange 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.

Im 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 dont think its 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....

Ill post more as I go along.
for details click below

No comments:

Post a Comment