C++ and ASP.net: Unable to start debugging on the web server

Asked By 610 points N/A Posted on -
qa-featured

Hello experts,

I got an application for testing. This application was developed in C # and ASP.net 2.0. My PC is Pentium 4. 3.0 GHz with 1 GB of ram and visual studio 2010 installed. The operating system is Windows XP SP3.

I'm having error whenever I try to run the application from visual studio. It says

Microsoft Visual Studio

Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled. Please see Help for assistance.

Picture of the error

Visual studio windows authentication

Microsoft Visual Studio

Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled. Please see Help for assistance.

I check all the properties and setting of the project in visual studio but the error appears again and again. I don’t want to ask for help to the developer as I think this will show her the lack of my skills in programming.

Do tell me how can I resolve this problem and run it smoothly in my VS environment.

SHARE
Best Answer by Patrick Ian
Best Answer
Best Answer
Answered By 0 points N/A #119277

C++ and ASP.net: Unable to start debugging on the web server

qa-featured

Hi Micky,

Check if your project is using local IIS server. If that's the case, you should enable Integrated Windows Authentication on the local IIS. Follow these steps:

  1.  On the IIS Manager, Go to "Properties" by right clicking the "Website"(you will have the default website if you are running your project locally)
  2.  Go to "Directory Security" tab and click "Edit" under "Anonymous access and authentication control".
  3.  Remove check for "Allow Anonymous access". (Note that when allowing anonymous access it lessen your permissions to debug)
  4. Put a check on "Integrated Windows Authentication"
  5. Check if your "NT Debugger" user is included on "Debugger Users Group".

Good luck on your Debugging!

Best Regards,

Patrick

Answered By 0 points N/A #119278

C++ and ASP.net: Unable to start debugging on the web server

qa-featured

The Visual Studio error:

             "Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled. Please see Help for assistance." can be caused by debugging an asp.net application and using IIS without Integrated Windows Authentication enabled.

To correct this you need to enable "Integrated Windows Authentication" in IIS security settings, for example on Windows Server 2003 steps as follows:

  •   Access Internet Information Services (IIS) as admin on your Web server
  •   Select your Websites folder or your virtual directory, right click and select Properties
  •   Under the Directory Securities tab in the Authentication and Access Control section, select Edit button.
  •   Enable the checkbox for "Integrated Windows Authentication", select Ok and apply

Regards

t3kg

Related Questions