![]() |
|
|
|||||||
![]() |
ASP Net - Debugging failed because integrated Windows authentication is not enabled |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
I got an ASPNET C# project from client. When I'm trying to open it in Visual
Studio I get error message: "Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled. Please see Help for assistance" - What could be the problem? Any suggestion will be appreciate. D.T. Dariusz Tomon |
|
|
|
|
#2 |
|
Posts: n/a
|
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 web site (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) -- Teemu Keiski ASP.NET MVP, AspInsider Finland, EU http://blogs.aspadvice.com/joteke "Dariusz Tomon" <> wrote in message news:... >I got an ASPNET C# project from client. When I'm trying to open it in >Visual Studio I get error message: > > "Unable to start debugging on the web server. Debugging failed because > integrated Windows authentication is not enabled. Please see Help for > assistance" - What could be the problem? > > Any suggestion will be appreciate. > > D.T. > |
|
|
|
#3 |
|
Posts: n/a
|
Teemu Keiski wrote: > 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 web site (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) > > -- > Teemu Keiski > ASP.NET MVP, AspInsider > Finland, EU > http://blogs.aspadvice.com/joteke > > > "Dariusz Tomon" <> wrote in message > news:... > >I got an ASPNET C# project from client. When I'm trying to open it in > >Visual Studio I get error message: > > > > "Unable to start debugging on the web server. Debugging failed because > > integrated Windows authentication is not enabled. Please see Help for > > assistance" - What could be the problem? > > > > Any suggestion will be appreciate. > > > > D.T. > > |
|