On Windows Server 2008 (DotNetPanel/WebsitePanel) Windows Hosting, you might got the Error 500 Internal Server Error show but do not have detailed error.
To overcome this issue, you may done some scripting from your web.config file.
1. Open your web.config file.
2. Add the following line before </system.webServer> tag.
<httpErrors errorMode="Detailed" />
Eg,
....
<httpErrors errorMode="Detailed"/>
</system.webServer>
</configuration>
3. Save it.