Knowledgebase

On Windows 2008 hosting, I get a 500 error page and the error is not shown. How to I display the error?

Load file manager in WebsitePanel, edit the web.config file in your DOMAIN/wwwroot folder

 

Scroll down and find (the very last lines)

</handlers>
</system.webServer>
</configuration>

after </handlers> press enter and add the following line

<httpErrors errorMode="Detailed"/>

it should now look like:

</handlers>
<httpErrors errorMode="Detailed"/>
</system.webServer>
</configuration>

save this file, this will now show 500 errors.

Was this answer helpful?

 Print this Article

Also Read

Understanding Physical and Virtual Directory Structures

Beyond home directory wwwroot, Microsoft Web sites also use the following:■ Physical...

How to send email from your asp.net code?

' Visual Basic Sample - Sending SMTP Authenticated E-mail ' Please replace yourdomain.com in...

Login URL for the Web Site Panel

For shared hosting - https://wsp.aspnethosting.co.uk

I get error when conneting to MS SQL 2008 server

If you get this error: The server principal " " is not able to access the database " " under the...

What will happen if I hit the memory limit?

If the worker process exceeds the private memory quota, IIS will recycle that pool which limits...