![]() |
|
|
|||||||
![]() |
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. > Teemu Keiski |
|
|
|
#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. > > sonu |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Reset / Recover Forgotten Windows NT / 2000 / XP / 2003 Administrator Password | wskaihd | Software | 2 | 11-17-2009 02:01 AM |
| How to activate Remote Assistance with XP using Windows Live Messenger | Oziisr | General Help Related Topics | 0 | 02-01-2008 04:45 PM |
| Computer Security | aldrich.chappel.com.use@gmail.com | A+ Certification | 0 | 11-27-2007 02:11 AM |
| MCITP: Enterprise Support Technician | MileHighWelch | MCITP | 1 | 06-19-2007 10:25 PM |
| Re: Question about MS critical updates | John Coode | A+ Certification | 0 | 06-30-2004 06:08 PM |