Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled

Last post 06-11-2009 1:06 AM by vpmragu. 3 replies.

Sort Posts:

  • Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled

    05-26-2008, 4:22 AM
     Hi all

    I use Vista home premium (SP1) + VS2005 Professional (SP1 + Update).

    When I press F5 on VS2005, it shows Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled

    I found that Windows Features > IIS7 > Security > there is no "Windows Authentication" click box.

    But, http://support.microsoft.com/kb/937523/en-us this patch is only for VS2005 Team Suite. I cannot install it on VS2005 Professional.

    Any solution for it? as I found that this bug was started from Last year http://207.46.236.188/msdn/showpost.aspx?postid=1857378&siteid=1&sb=0&d=1&at=7&ft=11&tf=0&pageid=0 but now still not fixed completely

    Thanks

  • Re: Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled

    05-29-2008, 5:26 AM

    Hi,

    In IIS 7, Windows Authentication is not installed by default. You need to explicitly install it by the following steps:

    • Enter Control Panel
    • Select "Programs and Features"
    • Click "Turn Windows features on or off"
    • Select IIS -> world Wide Web Services -> Security
    • Select Windows Authentication checkbox
    • Click OK

     

    I hope this helps.


     

     

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled

    05-29-2008, 10:07 AM

    Yes, if it is vista ultimate or business version, but not home premium that I use.

    I still do not get the solution, please read: http://forums.microsoft.com/forums/ShowPost.aspx?PostID=3399420&SiteID=1 

     

  • Re: Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled

    06-11-2009, 1:06 AM
    Answer
    • Member
      83 point Member
    • vpmragu
    • Member since 01-09-2008, 1:43 AM
    • Bangalore
    • Posts 29

    Hi,

    in case the project is on local IIS server, you need to enable Integrated
    Windows Authentication on the local IIS.

    1. Open IIS Manager (Internbet Information Services)
    2. Right-click the website (in case you run it locally you only have
    Default web site) and pick Properties
    3. Choose "Directory Security" tab and click Edit on "Anonymous access and
    authentication control"
    4. In the opening window, uncheck "Allow Anonymous access" and check
    "Integrated Windows Authentication" (allowing anonymous can make that you
    don't have enough permissions to debug)

    After that you also need to make sure your NT Debugger user is on Debugger users group

    (and in practise to attach to the aspnet_wp.exe process it also
    needs to be admin unless you change local security policies


    RaguNathan Maniraj,
    Software Engineer,
    Bangalore.
Page 1 of 1 (4 items)