You receive the error 500 Internal Server Error on Windows Server 2008 Hosting with DotNetPanel.
The error does not tell you what the problem is so you don't know how to fix.
To display error details, please follow instruction below.
1. Open web.config file in wwwroot folder.
2. Add the following line before </system.webServer> tag.
<httpErrors errorMode="Detailed" />
3. Save the file then refresh web page to see error details.
Another possible reason causing the error is you disable Network Service read permission which means IIS cannot read web.config file and throws error.