Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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)

share|improve this question

migrated from stackoverflow.com Feb 8 '10 at 12:31

This question came from our site for professional and enthusiast programmers.

    
This is not a question, please restructure it in the format of Question and Answer, it's fine to answer your own question if you think is relevant info for everyone, but it needs to be in the right format. –  Sam Feb 8 '10 at 13:37
add comment

1 Answer

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.

<configuration>
<system.webServer>
<asp scriptErrorSentToBrowser="true"/>
<httpErrors errorMode="Detailed"/> 
</system.webServer>
</configuration>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.