Get 6 months free hosting and free domain name with all 18 month web hosting and email plans.


Enabling Classic ASP Detailed Error Messages in Windows IIS7


Learn how to enable detailed error messages in Windows. Useful for debugging Active Server Pages (ASP) errors on Microsoft Windows Server IIS7.5. Includes example code for your web.config file.


When you view an Active Server Pages (ASP) page in a browser, the following error occurs:

500 Internal server error


An error in your ASP page is preventing your page from loading. The full error message is not shown because detailed error messages are disabled on your domain.

To protect your site from hackers, Ecenica Hosting Windows shared-hosting servers come with detailed ASP errors disabled.

Enabling ASP errors is considered a high security risk and if enabled, should only be done temporarily during development.


Enable detailed error messages by modifying your site’s web.config file.

How to enable detailed ASP errors

  1. FTP into your website space.
  2. Goto the wwwroot folder.
  3. Create a backup copy of web.config
  4. Open web.config
  5. Copy and paste the sample code below to display custom error messages on IIS 7
  6. <configuration>
            <httpErrors errorMode="Detailed" />
            <asp scriptErrorSentToBrowser="true"/>
            <customErrors mode="Off"/>
            <compilation debug="true"/>
  7. Save web.config

ASP errors will now show.This page is wiki editable click here to edit this page.


Web Hosting – £2.99/mo

Reliable UK web hosting. Free tech support. Trusted UK host since 2004. Free setup. Order online.

cPanel Hosting – £4.99/mo

Fast cPanel hosting with email. Choice of UK/US servers. 30-day money-back promise. Founded 2004.


Related posts:


Tags: , , , , , , , ,

Share this article

If you found this article useful, please feel free to re-tweet. The Url for this post:

Comments are closed.

Still need help?

Please login to account and submit a new support ticket.


Unless stated, this article is subject to Ecenica Hosting copyright protection. We've worked really hard to bring you this site so before you click copy & paste please take a moment to read our Copyright Notice.

Back to Top