Exchange 2008 OWA on 2003 x64 Application Error

Hi guys, first of all thankyou for your time, i have tried to fix this and its driving me insane. New server with windows server 2003 x64 edition and Microsoft Exchange 2008. Exchange in the majority works fine except i CANNOT get OWA working. I uninstalled client access then uninstalled IIS and when i installed IIS i selected everything but NNTP and SMTP. I install client access again but as soon as i try to access OWA i get the error below:

Server Error in '/owa' Application.

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.

Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".

I have gone into the web.config file located in the directory the OWA application is set to in IIS and whether i set that to On Off or RemoteOnly i cant get a usefull error message to work with.

I also tried running password resets on the IUSR accounts and then adjusting there passwords in IIS accordingly but still the same result.

Your help would be appreciated this really is cutting into our staffs productivity
Who is Participating?
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.

Remove the web.config to a different location and create the recreate the OWA virtual directory.
Remove-OWAvirtualdirectory -identity cas server name\owa (default web site)
New-OwaVirtualdirectory -Identity Cas Name\OWA (default web site)


Replace the web.config with another  CAS server .


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
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.