Enabling detailed error reporting on Windows Server 2008 (IIS7)

Windows Server 2008 (IIS7) by default displays non-detailed error messages. This is important for best security. To enable detailed error messages in your websites you should modify the web.config file in your websites root folder. Adding the "httpErrors" node below within the "configuration/system.webServer" node (Simply create the nodes if they don't exist)

e.g.

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

Once added all pages within this website will show detailed error messages when reporting errors. We recommend you remove this setting for best security on live production websites. Please also see the following URL for more information http ://www.iis .net/ConfigReference/system.webServer/httpErrors

  • 8 Users Found This Useful
Was this answer helpful?

Related Articles

Unable to view my temporary alias web address

It can take upto 1 hour for the temporary alias web address (or instant alias) on our Windows...

Auto-update Wordpress on our Windows Hosting

If you have secured WordPress correctly on our Windows hosting then the vast majority of your...

Information needed to generate a Certificate Signing Request (CSR)

Before reading this guide why not click here to take a look at our selection of wonderfull SSL...

Can I view my site before the DNS has propagated?

Windows Hosting All websites are issued with an Instant alias based on the domain you supply...

Error : Validation of viewstate MAC failed

If you get the error following error in your .NET app - Validation of viewstate MAC failed. If...