Outlook Web Access on Exchange Server 2007 may stop working after an Update Rollup is applied. Users who connect to OWA may receive a browser script error or a blank page with a URL of:
https://mail.yourdomain.com/owa/auth/logon.aspx?url=https://mail.yourdomain.com/owa/&reason=0
This problem can be caused by either of these conditions:
Cause #1
The Update Rollup was applied while the %systemdrive%\ExchangeSetupLogs folder was missing.
Resolution #1
Replace or restore the ExchangeSetupLogs folder and run the Update Rollup again.
Cause #2
The Update Rollup was applied while IIS services were stopped or disabled. This will be apparent when you inspect the %systemdrive%\ExchangeSetupLogs\UpdateOwa.log file and find entries with the following text:
Getting all Exchange 2007 OWA Virtual Directories
There are no Exchange 2007 OWA Virtual Directories. Aborting.
Resolution #2
Enable and start the IIS services (which are required for the Client Access Server role) and run the Update Rollup again.



I just had the same problem, which corresponded to Issue#2, however the log did not say the same: it said that the CAS role was nos installed on my server and then did not update OWA (the log entry was only 2 lines long)
I applied the rollup 6 again and it worked fine.
Thanks a lot, reason #2 was the cause.
This saved me some headaches, for some reason all exchange/www services were disabled, before applying rollup 6
Reapplied Rollup 6 after starting the services and OWA is back !
Regards,
Klaas-Jan
I’m having the same problem. Blank page displayed when trying to access OWA and also a certificate error. The CAS role is installed as are all the other roles. This is my only exchange 2007 server. I reapplied Update Rollup 6 and the UpdateOwa log file looks fine. This is a brand new 64bit Windows Server 2008 machine with a fresh install of Exchange 2007. I have moved my mailboxes over from my exchange 2000 server. Normal outlook users are having no problems. Any ideas would be greatly appreciated.
Thanks,
Seth
Seth, your certificate error might indicate an entirely different problem. Can you provide some more details? Even a screenshot?
Paul,
Here are the details as best as I can describe. I apologize as I’m new to exchange 2007. The properties of the Outlook Web Access show the internal URL to be https://exchange07mod03.indiana.in1stbank.com/owa. When I attempt to navigate to that page I first get a message stating that there might be a problem with the certificate. I click “Continue to the site anyway”. Then I get a blank page with the URL highlighted in Pink and a Pink “Certificate Error” box next to it. The url also changes and now shows: https://exch07mod03.indiana.in1stbank.com/owa/auth/logon.aspx?url=https://exch07mod03.indiana.in1stbank.com/owa/&reason=0
I have a screen shot if you would like to see it. I don’t know how to get it to you. Thanks for your help.
Seth
Seth, the only causes of the reason=0 error that I’m aware of are covered in my blog post. I’m sorry but if neither of those is the cause of your problem then I’m not sure what else it might be at this stage.
Thanks for the post. Right on! This server was a cause #2 . Cheers.
Noteworthy that no reboot was required, although it does stop the services itself and restarts them.
Thanks for these comments guys it really helped me out this weekend. I had to add some memory and update firmware on a array controller, prior to doing so I said what the hec and ran windows updates. Didn’t notice (was in a rush, which is not a good thing to be in, lesson learned) rollup update 6 in there. Began installing windows updates, was taking forever, so I canceled which left my Exchange service all disabled and OWA looking really like a really goofy watered down version of it. Found this post and downloaded the rollupdate 6 and re-installed and let it finish doing it’s thing. OWA is back working fine and all services are set to auto like prior. Thanks…….!!
I had the same scenario tonight. Updating the server, overlooking the rollup 6.
Took some time and when the server came back up, I get the reason=0 error.
my owa.log did NOT show any of those 2 errors, I tried to reapply the rollup 6, to no avail.
I deleted the exchangesetuplog folder and reapplied the rollup, to no avail.
Right now I’m uninstalling the rollup, praying for it to fix the issue.
I experienced this issue with the reason=0, and after increasing the size of the pagefile and rebooting the server, it was resolved. This is in a lab however, with Windows 2003 32bit, and Exchange 2007 32bit.
Uninstall Rollup6 and Install Rollup6
everything is completed.
Uninstall all rollups and install rollup7
Everything works fine now also Absence wizard
Thanks
All I had to do was updateowa.ps1 in the EMS.
My issue was Rollup 7 update interrupted by power outage. Various MSE services did not restart on power up, but RU7 was there. I started necessary Services but still the Blank OWA screen. Thanks to this information and http://social.technet.microsoft.com/Forums/en-US/exchangesoftwareupdate/thread/a4ee3830-ee2a-4351-aee8-0bf6d7ef912d\
Also had the ‘CAS not installed’ in the log while only 1 exchange server (32bit on win2k3 32bit). Went into the command shell and updateowa.ps1 fixed the problem.
Windows 2008 STD x64 w/ E2K7 had the same problem after Rollup 8 installed. updateowa.ps1 fixed ours as well. We also had the “CAS not installed” in the log file.
I had the exact same problem, with a to me unknown cause, but had no luck with the mentioned solutions (uninstalling/reinstalling rollups, ExchangeSetupLogs folder was fine, logs showed no problems and not mentioning wether CAS was installed or not).
Patricks solution to open the Management Shell and run “updateowa.ps1″ worked like a charm though – took a few seconds and then the site was working nicely. Thanks alot!
Just so you all know, you are all life-savers. Thank you very much for sharing the knowledge, I was just about to throw a fit.
Great site…..saved me a lot of work if I had followed the recommended MS KB http://support.microsoft.com/kb/320202
This broken exchange 2007 OWA has been driving me nuts! I located the UpdateOWA.log file and saw the “There are no Exchange 2007 OWA Virtual Directories. Aborting.”. I ran the updateowa.ps1 and the OWA link is fully functional.
Hi everyone, glad you found the post useful. Thanks for your comments.
Paul, I know this is an old post but I had an Exchange 07 box that gave me hell last night until I found your post. THANKS! My problem was your second example.
I’m having the same problem,I am open the Management Shell and run “updateowa.ps1,It’s fine,get flowing text:
Add-PSSnapin : Cannot add Windows PowerShell snap-in Microsoft.Exchange.Managem
ent.PowerShell.Admin because it is already added. Verify the name of the snap-i
n and try again.
At D:\Program Files\Microsoft\Exchange Server\bin\UpdateOwa.ps1:36 char:13
+ add-PSSnapin <<<< -Name Microsoft.Exchange.Management.PowerShell.Admin
[09:41:56] ***********************************************
[09:41:56] * UpdateOwa.ps1: 2010/1/30 上午 09:41:56
[09:41:57] Updating OWA on server LHEXCH07A
[09:41:57] Finding OWA install path on the filesystem
[09:41:57] Updating OWA to version 8.1.340.0
[09:41:57] Copying files from 'D:\Program Files\Microsoft\Exchange Server\Clien
tAccess\owa\Current' to 'D:\Program Files\Microsoft\Exchange Server\ClientAcces
s\owa\8.1.340.0'
[09:41:59] Getting all Exchange 2007 OWA virtual directories
[09:41:59] Found 1 OWA virtual directories.
[09:41:59] Updating OWA virtual directories
[09:41:59] Processing virtual directory with metabase path 'IIS://xxx.xxx.xxx/W3SVC/1/ROOT/owa'.
[09:41:59] Creating metabase entry IIS://xxx.xxx.xxx/W3SVC/1/ROOT/owa/
8.1.340.0.
[09:41:59] Configuring metabase entry 'IIS://xxx.xxx.xxx/W3SVC/1/ROOT/
owa/8.1.340.0'.
[09:41:59] Saving changes to 'IIS://xxx.xxx.xxx/W3SVC/1/ROOT/owa/8.1.3
40.0'
[09:41:59] Saving changes to 'IIS://xxx.xxx.xxx/W3SVC/1/ROOT/owa'
Verry usefull! This information saved me hours of work on this issue.