Hi All I have had an Exchange 2007 (sp1) running on server 2008 for a couple of years now - yesterday I ran into trouble with an update that caused all my app pools to freeze / freak out. I rolled back the install and restarted everything and everything came back online except OWA gave a 404 page missing error instead of the log off page when clients attempted to log off. I attempted to uninstall / reinstall the OWA virtual directory using the cmdlets and removing it in the IIS GUI
It seemed to unistall fine - but it will not let me reinstall - any version of the new-owavirtualdirectory command gives me an "An error occurred while creating the IIS virtual directory etc." error
When I look at the Server Config / Client Access / Outlook Web Access - the entry for OWA is blank - the OAB, Active Sync, and POP3 tabs are all fine.
All other mail clients are functioning smoothly
Is there anything I can try short of uninstalling IIS / the CAS role?
Yikes. I think you'll need to fix the default web site before trying to add the owa vdir. Is there anything in the Event Log to give a little more detail about that LoadLibraryEx failure? Does the named owaauth.dll file actually exist on the server? If so, have a look at the NTFS permissions. I only have E2010 available today, but they're rather similar in most respects. The permissions I have here are:
Administrators:Full Control Authenticated Users:Read & Execute, Read SYSTEM:Full Control
Are yours similar?
_____________________________
Lee. ___________________________________
Outlook Web Access for PDA and WAP: www.leederbyshire.com ___________________________________
I'm asking about the NTFS permissions on the owaauth.dll file (not the folder it's in). Find it in Explorer, right-click to view the properties, and look at the Security tab.
_____________________________
Lee. ___________________________________
Outlook Web Access for PDA and WAP: www.leederbyshire.com ___________________________________
I would try adding it - it can easily be removed, if nothing is improved. My guess is that IIS (which has to pretend to be an Authorised User, just like anyone else) will not be able to load it without these permissions being present.
_____________________________
Lee. ___________________________________
Outlook Web Access for PDA and WAP: www.leederbyshire.com ___________________________________
Okay, well that's probably a step in the right direction. Can you expand a bit more on the HTTPS error that you encounter? I've not heard of that one before. You can access the IIS logo in the default web site okay if you use HTTP, but if you try HTTPS you get a 404.3 error? Is that definitely the number you see?
_____________________________
Lee. ___________________________________
Outlook Web Access for PDA and WAP: www.leederbyshire.com ___________________________________
Hi Lee I get the error New-OwaVirtualDirectory : An error occured while creating the IIS virtual directory 'IIS://SERVER.cotting.org/W3SVC/1/ROOT/owa' on 'SERVER' AT line:1 char:24 + new-owavirtualdirectory <<<< "owa"
I think that if you specify no parameters, the defaults will (or should) create what you are looking for. Note that it should be "WebSiteName" not "WebSite", so anything with that in will probably fail. What error do you get if you just type
New-OWAVirtualDirectory
with no parameters? Have you tried typing it on its own since you did the permissions change?
_____________________________
Lee. ___________________________________
Outlook Web Access for PDA and WAP: www.leederbyshire.com ___________________________________
Hi Lee I bit the bullet and reinstalled the CAS (much easier than I anticipated)
During the reinstall I found that my IIS config file had retained the OWA settings that I had deleted this caused the reinstall to fail - basically I needed to delete the incorrect lines in the ApplicationHost file.
Once I did that the CAS installed in a jiffy and all I had to do was restart my app pools.