Display detailed information rather than a generic 500 error

If you are receiving the dreaded 500 error, you can follow the below temporary patches to display the detailed error in your browser. NOTE this can be a security issue if you leave these edits inplace, we do not take responsibility if you use these edits and leave them active.

1) create a web.config file in the root of the website if one does not exist and past this into the web.config and save it this will show detailed error messages in the remote browser


<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
        <httpErrors errorMode="Detailed" />
    </system.webServer>
</configuration>
  

2) if an existing web.config exists, you can edit the existing file and add the following in the namespace




<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
        <httpErrors errorMode="Detailed" />     <<<<<<<<< add this line into the web.config under the first  entry
    </system.webServer>
</configuration>    
    

      

---->   other entries will be in here but DO NOT edit them as they will be required for your site to work.


   

NB !!!!!! remember to remove these edits once the site is running ok, as this will expose information to remote users and the potential to display critical information is always possible.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

My account has been deleted, can it be restored?

Once your account has been deleted for non-payment, it cannot be restored. If your account has...

Are there any good ASP resources on the Internet?

Are there any good ASP resources on the Internet? One of the best ASP resources there is can be...

How do I enable ASP on my Domain / Website?

How do I enable ASP on my Domain / Website?   ASP is available depending on the...

How do I enable ASP.NET on my Domain / Website?

How do I enable ASP.NET on my Domain / Website?   ASP.NET versions 1 and 2 (3.5Sp1)...

How do I enable parent paths?

If you are seeing an error similar to this Active Server Pages error 'ASP 0131' Disallowed...