Visual Studio Development Bookmark and Share   
 index > Visual Studio Debugger > visual studio 2005 debugging traditional asp
 

visual studio 2005 debugging traditional asp

i'm looking at a project for some fairly significant modifications to an existing traditional asp site,
about 50+ scripts.
it would sure be useful to run the target scripts thru the debugger to follow logic etc,
i looked briefly at another traditional asp script in my vs, and it had so many errors, some significant
for the difference between .net and traditional asp and some less important like tags in caps.
the project is not at all to convert the existing app to .net.
so i'm wondering if i can somehow use vs2005 for debugging traditional asp?
bbxrider  Saturday, October 17, 2009 7:11 PM

Hello,

The answer is absolutely yes, we could debug classic ASP applications with Visual Studio 2005. We could use the Attach to Process dialog box, however, there are a few items that we might need to consider:
1. The Operating System we use. That's because the process name is different based on the OS we installed.
2. The process we will attach to. We will attach to the dllhost.exe process in Windows XP.
3. The Web Server we use. We need to run the application in IIS (no matter which version). The built-in web server with Visual Studio does not support classic ASP Debugging.
4. The User account we use. We need to add our account to the Debugger Users group or the Administrators group to grant it proper privilege.
There is a simple walkthrough on debugging classic ASP applications in IIS5 with Visual Studio 2005 on my local Windows XP box, I hope it could help you!


For more information, we could refer to:
1. Debugging ASP Web Application: http://msdn.microsoft.com/en-us/library/aa291223(VS.71).aspx
2. Debugging classic ASP web application with Visual Studio 2005:
http://weblogs.asp.net/akjoshi/archive/2008/07/16/Debugging-classic-asp-application-with-Visual-Studio-2005.aspx

Best regards,


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback, please tell us.
Welcome to the All-In-One Code Framework!
Roahn Luo  10 hours 33 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• Debugging - user not allowed to edit assembly
• The memory could not be "written".
• visual studio debugger doesn't expand data members of a class
• Remote Debug VS2005 Debug Symbols Not loaded
• Logger run
• Show disassembly automatically question
• VS2008 - Stopping Debug mode
• 'Unable to Start Debugging' message when creating a .net Com object
• How do I debug a Console app that takes command line arguments?
• Solution when Visual Studio 2003 debugger hangs while starting ASP.NET debugging