Knowledgebase: ASP .NET / ASP
Turn on Detailed errors for ASP Scripts
Posted by on 13 February 2011 07:36 PM

All Windows servers at Arvixe run IIS 7. Therefore, when attempting to debug ASP scripts, you may receive the error -

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

With a link that goes to

To preview the actual error that the ASP code is generating, simply place the following tags within the system.webServer tags inside the web.config that exists within your wwwroot folder -

<httpErrors errorMode="Detailed" />

<asp scriptErrorSentToBrowser="true" />

If you don't see a web.config inside wwwroot, simply create one and place the following tags inside it -

<?xml version="1.0" encoding="UTF-8"?>



  <httpErrors errorMode="Detailed" />

<asp scriptErrorSentToBrowser="true" />




If you run ASP .NET applicaitons in conjunction with ASP, this article may provide some more information on how to turn on detailed errors when you receive a 500 error for your .NET apps:

(14 vote(s))
Not helpful

Comments (5)
Dave Stewart
15 January 2013 09:13 PM
As soon as I add "<asp scriptErrorSentToBrowser="true" />" to my web.config, I get an "HTTP/1.1 New Application Failed" error message in my browser when I access my (classic) ASP script. When I remove this line from web.config, the script runs fine. Is there something else that needs to be done to get detailed error messaging to work for ASP scripts?
Michael Carr
17 January 2013 08:29 AM
Yes, login to the control panel for the account, navigate to web > websites > domain name > error tab. Then ensure all errors are enabled. After that the error message should be displayed directly when you load the page. If you need more help after that, please feel free to open a support ticket and we will be glad to assist.
Ashmi Piparia
23 July 2013 04:01 PM
Hi, I am new to asp and I am trying to figure out what error might be causing my application to not launch. I did the steps above and get the same HTTP/1.1 New application Failed error. in the solution above you mentioned navigate to web in control panel... I don't see any web in my laptop's control panel. Can you please help, I am trying to launch the application on my computer so i have the IIS set up and so on.
Michael Carr
05 August 2013 08:29 AM
The control panel that the article is alluding to is your websites control panel, not your local computers control panel. Your welcome email contains a link to it and the required login details.
02 October 2014 04:51 AM
For those with "HTTP/1.1 New application Failed" error is because the asp node in your applicationhost.config file is set to Deny override in your web.config file by default. To fix (for your local machine) open "%windir%\system32\inetsrv\config\applicationhost.config" and find <section name="asp" overrideModeDefault="Deny" /> and change to "Deny" to "Allow", save.
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).