Display detailed errors in IIS 7 – Windows 2008

In Windows server 2008, displaying detailed error is disabled by default. To enable this please follow this steps-

1. Open web.config file located under domain root (possibly under wwwroot if helm/DNP, httpdocs if plesk).
2. Look for the lines (esp at last)-
</handlers>
</system.webServer>
</configuration>

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

<httpErrors errorMode=”Detailed”/>

After adding should look like-

</handlers>
<httpErrors errorMode=”Detailed”/>
</system.webServer>
</configuration>
Save the file and now you will be able to see the detailed error.

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>