Solved

Debugging Classic ASP on IIS7 (Win2008 x64)

Posted on 2008-09-29
3
1,380 Views
Last Modified: 2010-04-21
I am trying to debug a web app in Classic ASP on my new server (Windows 2008 x64, IIS7). I can debug this fine on Windows Vista (32bit) IIS7 as it comes with with the error and line number. However, even when turning on the client-side debugging option etc in IIS7 on the 64-bit Windows 2008 machine, it never shows the error message or line number. I always just get an IIS error page saying that there is a problem with the resource and it cannot be displayed.

The application still works (when there are no errors) on x64 but as soon as theres an error in some code, i get no detailed feedback.

Hope you can help! Cheers in advance.
0
Comment
Question by:firefoxchris
3 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 22598864
When viewing the page, do you have IE set to show friendly http error messages?  What browser are you debugging with on what system?
0
 
LVL 12

Accepted Solution

by:
Pugglewuggle earned 500 total points
ID: 22602956
The cool thing about IIS 7 is that it has a way around friendly error pages.
There are two options you have to change to make this work:
On the site features view go to Error pages. On the right side click "Edit feature settings..." Then just click on Detailed errors and click OK
Next , go back to site feature view. Click on ASP under IIS. Expand "Debugging Properties". Change "Send Errors to Browser" to True.
That's it!
Let me know if that works!
0
 

Author Closing Comment

by:firefoxchris
ID: 31501274
Perfect. I had not seen the "Edit feature settings..." bit. Thank you very much. Bit new to IIS7! Also, yes i had already disabled Friendly Error Messages.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

914 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now