asp.net hosting
 
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search

Support Center » Knowledgebase » Shared Hosting » IIS7 » Classic ASP script error messages are no longer shown in a Web browser by default

 Classic ASP script error messages are no longer shown in a Web browser by default
Solution

In earlier versions of IIS, error messages from classic ASP scripts were sent to a Web browser, by default. Because these error messages might reveal sensitive information to malicious users, IIS 7.0 disables this feature by default. When your classic ASP scripts encounter an error in IIS 7.0, you receive the following error message by default:

An error occurred on the server when processing the URL. Please contact the system administrator.

If you are the system administrator please click here to find out more about this error.

Workaround 1:

If you are using the IIS Manager navigate to the ASP icon on the right pane.  

Drill down to Debugging Properties and update the Send Errors To Browser parameter to True

Workaround 2:

Upload a web.config file with the following text to the root of your application.

<xml version="1.0" encoding="UTF-8">
<configuration>
    <system.webServer>
        <asp scriptErrorSentToBrowser="true" />
    </system.webServer>
</configuration>

If  the root of the application already contains a web.config file then all you need to do is insert the bold code in the <configuration> tag of the existing web.config.



Article Details
Article ID: 864
Created On: Mar 12 2009 08:35 PM

 This answer was helpful  This answer was not helpful

 Back
 
 Article Options
 
Home | Register | Submit a Ticket | Knowledgebase | News | Downloads
FrontPageSQL2005Windows 2003SmarterMailSmarterStatsASP.netPlesk hostingHELM hosting
Products & Services  |  Company Information  |  Testimonials  |  Support  |  Resellers  |  Affiliates  |  Contact Us  |  Terms of Use  |  Site Map  |  Home
© 1999-2009 Applied Innovations Corp., All Rights Reserved
ASP.net Hosting | Windows VPS Hosting | IIS7 Beta Hosting | Windows Hosting | BVCommerce Hosting | AspDotNetStorefront Hosting | Windows Reseller Hosting | Kentico CMS Hosting | SQL Server Hosting | ASP.NET AJAX Hosting | Windows Dedicated Server Hosting | Sharepoint Hosting | Expression Web Hosting | FrontPage Hosting | E-Commerce Hosting | DotNetNuke Hosting | Community Server Hosting | Search Engine Marketing | Online Merchant Accounts | Application Hosting | Free PCI Scanning | Cardinal Commerce | Discount Windows Hosting | Small Business Hosting | Enterprise Windows Hosting | Advanced Windows Hosting | Storefront Hosting | Free Website Building Software | Hosting Affiliate Program | News & Press Releases
More Info on Shared Hosting More Info on Application Hosting More Info on E-Commerce More Info on Dedicated Hosting More Info on Reseller Hosting More Info on Virtual Private Servers Windows 2003 Shared Hosting More Info on ASP.net Hosting More Info on Dedicated Servers Microsoft Gold Certified Partner Get it NOW! Sign-up  NOW!