Debugging returning 401 HTTP error

From: James Bailey (junk_at_junk.com)
Date: 03/31/04

  • Next message: James Bailey: "Re: Debugging returning 401 HTTP error"
    Date: Tue, 30 Mar 2004 21:05:10 -0800
    
    

    When I try to debug an ASP.NET application, VS.NET pops up saying "Error
    while trying to run project: Unable to start debugging on the web server."
    and "Click Help for more information." When I look at the IIS logs, the
    DEBUG verb is returning a 401 error.

    Here's what I've tried:

    1. Checked that I have 'Administrators' and 'Debugger Users' groups.

    2. 'Integrated Windows authentication' is enabled in IIS.

    3. ACLs are set for the directories in question. (It occurs on all web
    apps, new or existing.)

    4. Web.config is well-formed and debugging is set to true.

    5. I've run "aspnet_regiis -i" a few times.

    6. Restarted server.

    7. Enabled security auditing, but no entries are logged.

    8. Narrowed down the error to a 401;1 error: Error in logon. However, no
    failures are being logged, as is stated in #7.

    The oddest thing is that I was using it for awhile, and then it quit working
    in the middle of the afternoon. I can't think of anything that I changed.
    It's acting like I had installed URLScan, which I haven't, and it's blocking
    the "DEBUG" verb.

    This isn't the first time something has broken on me. I think this is the
    third time, and it's been something different each time. Is ASP.NET that
    difficult to keep debugable?

    Anyway, thanks for any help. I'm not afraid to get down and dirty, but I
    can't find any information on how to fix this; I can only find the
    workaround where you attach to the aspnet_wp.exe process, which I'd prefer
    not to have to do.

    ----
    James Bailey
    

  • Next message: James Bailey: "Re: Debugging returning 401 HTTP error"

    Relevant Pages

    • Debugging returning 401 HTTP error
      ... Unable to start debugging on the web server." ... DEBUG verb is returning a 401 error. ... Web.config is well-formed and debugging is set to true. ... Enabled security auditing, ...
      (microsoft.public.dotnet.framework.aspnet)
    • Debugging returning 401 HTTP error
      ... Unable to start debugging on the web server." ... DEBUG verb is returning a 401 error. ... Web.config is well-formed and debugging is set to true. ... Enabled security auditing, ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Unable to debug
      ... I installed the VS2005 and the IIS on the same machine. ... debug it. ... "Unable to start debugging on ... the web server. ...
      (microsoft.public.dotnet.framework.aspnet)
    • vs2005 + IIS6 Windows 2003 web app debugging problem
      ... When I try to debug a Web application which is openned in Visual Studio 2005 ... "Unable to start debugging on the web server. ...
      (microsoft.public.vstudio.general)
    • Unable to start debugging...
      ... I've installed VS05 RC after VS2003 and I can't debug any ASP.NET project. ... Unable to start debugging on the web server. ...
      (microsoft.public.vsnet.debugging)