Enabling detailed error reporting on Windows Server (IIS7)

Windows Server 2008 (IIS7) by default displays non-detailed error messages. This is important for the best security. To enable detailed error messages in your websites you should modify the web.config file in your website's 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 the 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

Error : Validation of viewstate MAC failed

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

Accessing mySQL remotely

Remote access to any of our database servers is provided solely for periodic maintenance, backups...

Is there a limit to the number of MSSQL databases you can create?

The only limitation for Microsoft SQL Server databases is the space, you can create unlimited...

How to send email using ASP and CDOSYS

The following ASP script can be used to send email using CDOSYS on our servers. Dim iConfig Dim...

Accessing MSSQL remotely

Remote access to any of our database servers is provided solely for periodic maintenance, backups...