Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Displaying ASP Classic errors in IIS7

Posted on 2012-03-12
3
591 Views
Last Modified: 2012-06-21
Hi,

I have an asp classic that i'm migrating to a new dedicated webserver running iis7, i need to display the error, error line, etc for debugging but all i get is:


500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

I've tried creating a web.config file and putting it in the websites folder, and changing the settings in IIS under ASP > Compillation.

The web.config i've created in the websites folder is as below:

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

Open in new window


What am i doing wrong? I've read through a lot of forums and it appears this should do the job..

thanks,

Sam
0
Comment
Question by:OTM
3 Comments
 
LVL 9

Accepted Solution

by:
TonyReba earned 500 total points
ID: 37709824
Try : Internet Information Services (IIS) Manager —> Default Web Site —> Click Error Pages properties and select Detail errors
0
 

Author Closing Comment

by:OTM
ID: 37709879
Perfect, never saw that in all my googling...

thanks
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 37709897
In IIS, click on your site.  Then click on the ASP icon.  Under the Compilation area, there is a Debugging area that you need to open up.  Once there you have about 10 different options including  sending the error to the browser.    

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question