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

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...

How to send email from your asp.net code?

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

Conection String to MS SQL 2008 DB - example

In order to connect to SQL Server 2008 from Management Studio, Enterprise Manager, Query...

MS SQL 2008 and MySQL server addresses

MSSQL 2008 server addresses are: sql2008.aspnethosting.co.uk sql2008r2.aspnethosting.co.uk...

How to enable remote IIS management for my site?

Login to your hosting control panel here http://cp.aspnethosting.co.uk then click on Web - Web...