Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a windows 7 64 bit development workstation running IIS 7.5. I am trying to setup debugging for an ASP.NET 2.0 application using Visual Studio 2005.
I am able to debug successfully if I attach to the w3wp.exe process, but I cannot debug by just simply launching the debugger (pressing F5). When I press F5 IE opens and loads the main page of my web project, but the debugger is not attached (none of my breakpoints stop execution). In the output window after I launch the debugger I have this line:
Can someone help me figure out how to get simple debugging (pressing F5) to work in this environment?
Posted
Comments
GPUToaster™ 6-Aug-10 7:31am    
Try launching your devenv.exe (VS executable suite) as Administrator.

Fortunately I found the solution for that.
For attaching Debugger with Asp.Net and Visual Studio 2005
you have to close all windows of Microsoft internet explorer before start debugging the application
 
Share this answer
 
I tried using administrator but it didn't attach the debugger
the out put window ended with
The program '[5632] w3wp.exe: Managed' has exited with code 0 (0x0).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900