Knowledgebase: ASP .NET / ASP
Turn on Detailed errors for ASP Scripts
Posted by Arvand Sabetian 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 http://learn.iis.net/page.aspx/559/running-classic-asp-applications-on-iis-70-and-iis-75/

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"?>

<configuration>

    <system.webServer>

  <httpErrors errorMode="Detailed" />

<asp scriptErrorSentToBrowser="true" />

    </system.webServer>

</configuration>

 

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: http://blog.arvixe.com/how-to-get-more-detailed-errors-from-iis/

(14 vote(s))
Helpful
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.
Thanks
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.
James
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:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

 
Web Hosting

Linux Hosting
ASP .NET Hosting
Business Hosting
Reseller Hosting
Dedicated Servers

Server Alerts
Acceptable Use Policy
Terms of Service
Privacy Policy

Affiliate Program
Site Map

Blog  Hosting

WordPress Hosting
ExpressionEngine Hosting
Movable Type Hosting
Habari Hosting
Textpattern Hosting


CMS  Hosting

Joomla Hosting
Drupal Hosting
MODX Hosting
Concrete5 Hosting
Xoops Hosting
Ecommerce  Hosting

nopCommerce Hosting
OpenCart Hosting
Magento Hosting
osCommerce Hosting
Tomato Cart Hosting


Video Sharing Software  Hosting

ClipBucket Hosting
PHPMotion Hosting
ClipShare Hosting
osTube Hosting
vShare Hosting
Forum  Hosting

XenForo Hosting
vBulletin Hosting
MyBB Hosting
phpBB Hosting
Simple Machines Hosting


Social Network and Community Website  Hosting

SocialEngine Hosting
Elgg Hosting
Dolphin Hosting
phpfox Hosting
OxWall Hosting
Copyright © 2003-2015 Arvixe, LLC. All trademarks are property of their legal owner.