• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1450
  • Last Modified:

Debugging Classic ASP on IIS7 (Win2008 x64)

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
firefoxchris
Asked:
firefoxchris
1 Solution
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
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
 
PugglewuggleCommented:
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
 
firefoxchrisAuthor Commented:
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

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now