?
Solved

Displaying ASP Classic errors in IIS7

Posted on 2012-03-12
3
Medium Priority
?
603 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
[X]
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
3 Comments
 
LVL 9

Accepted Solution

by:
TonyReba earned 2000 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 53

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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

762 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