customErrors="RemoteOnly" not working properly in Server 2008

Posted by Atomiton on Server Fault See other posts from Server Fault or by Atomiton
Published on 2011-06-22T22:06:21Z Indexed on 2011/06/23 0:24 UTC
Read the original article Hit count: 550

It would appear that on my brand new Windows Server 2008 with IIS7, customErrors is not working.

We have customErrors set to RemoteOnly in the web.config on our Asp.Net sites and applications. However, no matter what we do, it would appear that our sites act like it's set to On and we can't get any detailed messages showing up on our applications when remoted into our servers.

I'm not entirely sure how to trace where this is being overrided, or if there is something in the way the server is configured that would make the server think the request is internal? How does this actually resolve correctly, anyway?

Any help is appreciated...

Our network admin has added domains to our hosts file to direct applications to the IP address.

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about iis7