Debugging Classic ASP in VS08

Posted by Zu on June 24, 2010 in ASP, Visual Studio |

1. Go to Control Panel>Administrative Tools>Computer Management. Add IWAM_ComputerName account to the Debugger Users group.
2. Create a Web Application Project in VS 2005 and add .asp files.
3. Create a virtual directory in IIS for the web application project that you created.
4. On the properties tab of the virtual directory in IIS do the following:
1. Click Configuration button.
2. On the Mappings tab, select .asp and click Edit
3. Add the DEBUG verb and click OK.
4. Go to Debugging tab.
5. Enable the ASP debugging and Client Side Debugging
5. Load the web application project and set the breakpoint in the ASP.
6. In VS 2005, go to Debug > Attach to Process. (make sure you Attach to Script Code)
7. Select the DLLHost process that runs under the IWAM_ComputerName account.
8. Load the .asp file in the browser and break point will bind now.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2007-2012 Cheat Sheet All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.