剑花 烟雨

   江南  好 风景旧曾谙 日出江花红胜火 春来江水绿如蓝 能不忆东北

理想中的建筑师应该是一个诗人、数学家、精通历史、精通心理学、熟悉音乐、了解医学、还要具备天文学和计算的基本知识。
                                                                                                                         ------------------公元前25年,罗马建筑学家Vitruvius
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Dubugging Classic ASP in Visual Studio 2005

Posted on 2008-06-20 16:19  落花人独立  阅读(730)  评论(0编辑  收藏  举报

Introduction

I couldn't find a lot of documentation on how to debug the classic ASP pages in VS 2005 running on Windows XP and IIS 5.0. So I tried few stuff and finally figured it out. I added those steps in this article. Itss very easy and takes only 5 minutes. I have not tried it with the VS 2005 WebSite model and used the Web Application Project instead. So if you do not have the web application project add-in installed you can download it from here.

Steps

  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.
  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.

Happy Coding,

count hit
欢迎您到紫阁阳光坐客