Generic HTTP 500 Error Message On Hosted Sites (like GoDaddy)

Posted by Jimbo on Server Fault See other posts from Server Fault or by Jimbo
Published on 2010-02-08T10:55:00Z Indexed on 2010/03/24 16:03 UTC
Read the original article Hit count: 440

Filed under:

I decided to post this because I battled to find out how to do it and couldnt see anything on Stackoverflow about it.

Often when you host with a provider like GoDaddy, they have "Custom Error Messages" set to ON. What I didnt realise was that the web.config settings dont just apply to ASP.NET, they apply to all applications on YOUR IIS site and hence will sort this problem out for Classic ASP as well (very few GoDaddy support people even know this)

All you need to do is add the following to your web.config OR, for those using Classic ASP, just create a web.config file in your ROOT with this code in it.

<asp scriptErrorSentToBrowser="true"/>
<httpErrors errorMode="Detailed"/> 

© Server Fault or respective owner

Related posts about 500-error

Related posts about iis