Debugging Problems



I am having trouble debugging with Visual Studio.NET 2003 and Framework
1.1. I cannot press F5 and have the web project start with the
debugger, I get "Unable to start debugging on the web server. Could not
start ASP.NET or ATL Server debugging". So, instead I have to manually
attach to aspnet_wp.exe. This works about 50% of the time, the other
50% I have to restart IIS and/or manaully kill the aspnet_wp.exe
process, then manually attach the debugger to aspnet_wp.exe. I can
successfully debug Windows Applications with F5.

One thing I've noticed is I can't use localhost as the webserver, I
instead have to specify the machine name as well as having to setup a
header in IIS using the machine name. VS.NET now thinks I am
debugging/developing against a remote server.

I am stumped, though my frustration level is less than yesterday. I've
done all the typical things I know, ASPNET in the Debuggers group, set
Directory Security to my account which had administrative rights. But
this time it doesn't look like a security issue.

Any thoughts?

.



Relevant Pages

  • Unable to start debugging on the web server
    ... I can successfully create a web project ... on a Windows 2003 server, but when I try to start the project I ... "Error while trying to run project: Unable to start debugging on the ... RPC Services are running ...
    (microsoft.public.vsnet.debugging)
  • Re: Multiple web.config files in a virtual directory
    ... > http://localhost/myapp/newFolder (web folder in the above virtual dir maps ... When I tried to do this, VS.NET web project (during ... > debugging) throws an errors saying that something is wrong at the server? ... > browser (without debugging), ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Multiple web.config files in a virtual directory
    ... > http://localhost/myapp/newFolder (web folder in the above virtual dir maps ... When I tried to do this, VS.NET web project (during ... > debugging) throws an errors saying that something is wrong at the server? ... > browser (without debugging), ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: VS 2005 Very slow debug in web projects
    ... web project. ... the developer having the problem has a very powerful machine, ... The build seems to complete, and IDE reconfigures itself for debugging ... brand new machine running 64-bit Windows XP. ...
    (microsoft.public.vsnet.general)
  • Re: Debugging Problems
    ... >I am having trouble debugging with Visual Studio.NET 2003 and Framework ... I get "Unable to start debugging on the web server. ... > One thing I've noticed is I can't use localhost as the webserver, ... > Directory Security to my account which had administrative rights. ...
    (microsoft.public.dotnet.framework.aspnet)