Unable to start debugging on web server

Last post 06-15-2009 12:04 PM by desertfoxaz. 7 replies.

Sort Posts:

  • Unable to start debugging on web server

    06-11-2009, 2:11 PM
    • Member
      144 point Member
    • desertfoxaz
    • Member since 01-28-2008, 5:56 PM
    • Posts 151

    I have to support some legacy applications written in ASP.NET 1.1/VS2003.  I had to recently rebuild my workstation and now I'm seeing some strange behavior.

    I cannot click the play button on the toolbar to run my web project in debug mode, if the start URL for the project contains my fully-qualified machine name.  I get the message saying:

    "Error while trying to run project: Unable to start debugging on the web server.  You do not have permissions to debug the server.  Verify that you are a member of the 'Debugger Users' group on the server.

    I checked, I am a member of that group.

    I can run it without debugging and then attach the debugger to the aspnet_wp.exe and then I can debug the project.

    If I change the start URL to localhost, I can debug by clicking the play button.

    I am impersonating a domain user account, and this is set up in the web config and has not changed.

    The problem I have is that this application relies on a different web application for authentication, so if start it from localhost, my login is successful, but I can't navigate away from the login page as I am not in the same domain as the app that authenticated me.  Because of this, I have to use the fully qualified machine name.

    As I can manually attach the debugger, I'd like to be able to get the play button working.  I am not sure why it works one way and not the other.

  • Re: Unable to start debugging on web server

    06-12-2009, 3:02 PM
    • Star
      9,833 point Star
    • chintanpshah
    • Member since 11-19-2008, 5:39 AM
    • Ahmedabad
    • Posts 1,765
    You need debugging rights on your web server. (Not your local PC)
    Hope this helps...

    Don't forget to mark as answer, if it helps
  • Re: Unable to start debugging on web server

    06-12-2009, 3:05 PM
    • Member
      144 point Member
    • desertfoxaz
    • Member since 01-28-2008, 5:56 PM
    • Posts 151

    I'm trying to debug using IIS on my local PC.  There is no separate server involved.

  • Re: Unable to start debugging on web server

    06-12-2009, 3:14 PM
    • Star
      9,833 point Star
    • chintanpshah
    • Member since 11-19-2008, 5:39 AM
    • Ahmedabad
    • Posts 1,765

     Are you running a version of Windows that allows the Visual Studio debugger to automatically attach to a Web application? If not, you need to launch the application without debugging and manually attach to it. (For more information, see Manually Attaching and ASP.NET Debugging: System Requirements.)

    Refer to: http://msdn.microsoft.com/en-us/library/dwesw3ee(VS.80).aspx

    Hope this helps...

    Don't forget to mark as answer, if it helps
  • Re: Unable to start debugging on web server

    06-12-2009, 3:18 PM
    • Member
      144 point Member
    • desertfoxaz
    • Member since 01-28-2008, 5:56 PM
    • Posts 151
    I'm using Windows XP SP3.  This was working at one time, but I had to reinstall the OS and now it isn't working.
  • Re: Unable to start debugging on web server

    06-13-2009, 1:18 AM
    • Star
      9,833 point Star
    • chintanpshah
    • Member since 11-19-2008, 5:39 AM
    • Ahmedabad
    • Posts 1,765
    Hope this helps...

    Don't forget to mark as answer, if it helps
  • Re: Unable to start debugging on web server

    06-15-2009, 10:34 AM
    • Member
      144 point Member
    • desertfoxaz
    • Member since 01-28-2008, 5:56 PM
    • Posts 151

    The workstation already has SP3 installed.

  • Re: Unable to start debugging on web server

    06-15-2009, 12:04 PM
    Answer
    • Member
      144 point Member
    • desertfoxaz
    • Member since 01-28-2008, 5:56 PM
    • Posts 151

    I finally figured it out.  To reiterate, I had to set the start URL to my fully qualified machine name in order for it to work with the authentication we are using.  I could not run the debugger by starting fromt he menu (F5 or play button).  However, if set my start URL to be localhost, it worked fine.  This lead me to believe it was a permission issue of some sort.

     

    I had to add the domain to the Trusted Sites in IE.  I then went into the security settings, to the User Authentication -> Login and switched from “Automatic logon only in Intranet zone” to “Automatic logon with current username and password”. See http://msdn.microsoft.com/en-us/library/aa290100.aspx

     

Page 1 of 1 (8 items)