Groups > Asp .Net > ASP.NET Tips and tricks > Show Classic ASP errors on IIS7




Show Classic ASP errors on IIS7

Show Classic ASP errors on IIS7
Sat, 15 Mar 2008 16:27:08 +000
Security provided for Classic ASP running on IIS7 has been greatly improved.
One of the changes however seems to be causing some confusion.

On IIS7 the scriptErrorSentToBrowser property is set to False by default.

There is however an easy way to show errors when you need to. . .
Add this to the root web.config for your site:

<system.webServer>
 <asp scriptErrorSentToBrowser="true"/>
</system.webServer>

Read more about the changes here:
http://learn.iis.net/page.aspx/267/how-to-use-http-detailed-errors-in-iis7/

 Salute,
   Mark
Post Reply
about | contact