Go to Control Panel>Administrative Tools>Computer Management. Add IWAM_ComputerName account to the Debugger Users group.
Create a Web Application Project in VS 2005 and add the .asp files.
Create a virtual directory in IIS for the Web Application Project that you created.
On the Properties tab of the virtual directory in IIS, do the following:
Click the Configuration button.
On the Mappings tab, select .asp and click Edit.
Add the DEBUG verb and click OK.
Go to the Debugging tab.
Enable ASP debugging and client-side debugging.
Load the web application project and set the breakpoint in ASP.
In VS 2005, go to Debug > Attach to Process.
Select the DLLHost process that runs under the IWAM_ComputerName account.
Load the .asp file in the browser and the break point will bind now.
mark this answer if it will really help you,
Thanks&Regards
ketan
Raja, if this helps please login to Mark As Answer. | Alert Moderator