Revealing Detailed Error Messages With GoDaddy Hosting

As a part of our effort to help the developer community with common “gotchas”, we like to openly share quick fixes to problems we’ve encountered.

For security reasons, detailed error messages are disabled by default on Windows GoDaddy Hosting.  Instead of a detailed error message, you would receive only an Error 500 message.  Unfortunately, the instructions currently listed in the GoDaddy Knowledge Base do not resolve this issue.

The solution is to modify the Web.Config file to include the following:

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

Specifically:

<configuration>
<system.webServer>
<httpErrors errorMode=”Detailed” >
</httpErrors>
<asp scriptErrorSentToBrowser=”true”/>
</system.webServer>
</configuration>