How do I enable detailed errors in classic ASP?

How do I enable detailed errors in classic ASP?

You can enable detailed error messages for
your classic ASP site defaulted to Windows/IIS by using a web.config
file with the following:

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


Note: Detailed errors are an excellent way to
troubleshoot your site code in classic ASP because the error messages
they generate on your site may contain information that is relevant to
the error you are experiencing and will assist you in resolving many
coding issues. However, please be mindful when using detailed errors on
a production site because the information that is output to the page
can also be very revealing about the way your code works and processes
information, which is particularly concerning for the security of your
site. Therefore we strongly recommend the use of detailed errors for
sites that are in development or experiencing problems; conversely we
strongly recommend disabling detailed errors while the site is in
production and not experiencing any issues.



For more detailed information regarding the syntax and use of please visit:
http://www.iis.net/ConfigReference/system.webServer/httpErrors

 
    • Related Articles

    • How do I enable detailed errors in classic ASP?

      You can enable detailed error messages for your classic ASP site defaulted to Windows/IIS by using a web.config file with the following: <configuration> <system.webServer> <httpErrors errorMode="Detailed" /> </system.webServer> </configuration> Note: ...
    • IIS Detailed errors

      If you want to enable this detailed error message to be shown on the clients as well, then you need to change the setting in the IIS7 manager. Follow the below steps for the same: 1. Open the IIS7 manager 2. Select the Website and on its features ...
    • Redirect non www domain to www in classic asp

      If you are running your site on classic .asp, on a IIS 6 web server. Here is a method you can use to forward all non www. requests to www.example.com. Create a new file for example named: redirect.asp | and insert this code into the file redirect.asp ...
    • How do I enable .NET to show more detailed error messages on IIS 7.0?

      By default, our Windows hosting servers display a generic error when any .NET application generates an exception. We display a generic error because the detailed error messages allow a malicious user to obtain sensitive information. To troubleshoot ...
    • How do I enable .NET to show more detailed error messages on IIS 6.0?

      By default, our Windows hosting servers display a generic error when any .NET application generates an exception. We display a generic error because the detailed error messages allow a malicious user to obtain sensitive information. To troubleshoot ...