Getting "Unable to start debugging" "Authentication failed when ..."

This seems like a simple bug to fix. However, I somehow can not understand. We found several messages here and went through them and could not get it to work. Of course, this seems like a known bug.

The error I get is: Cannot start debugging on the web server. An authentication error occurred while communicating with the web server.

I am running VS2k8 on a Server 2k3sp2 web server. I checked that debugging is installed in the web.config file, and the verified http keep alives are installed in IIS. I set up the network to work using integrated authentication. I even tried to attach to the process. However, my breakpoints say that the current code and the current code do not match, although I compiled the web interface and ran it ... like im connected to the wrong process, but there is only 1 w3wp process there, which should just be my process.

I even did aspnet_regiis. Nonetheless.

Thoughts?

+4
source share
3 answers

Looking around, I noticed that every time I tried to run in debug mode, there was 537 - "An error occurred while logging in." I found this article on M $ -

http://support.microsoft.com/?id=896861

After installing the key in the registry to disable loop checking in the article and rebooting, the problem is solved! Since this is a developer box inside, there should not be a security risk.

Thanks for the help!!!

+4
source

Verify that IIS is set to authentication mode. If you are in a domain, be sure to check this and make sure that anonymous access is installed (if required for your application).

This MSDN link contains more detailed information.

There are a few more things you can try:

Let me know how it works for you.

0
source

I fixed this by changing the server link in the project properties web section. I used 127.0.0.1 - changed to localhost and it worked.

0
source

All Articles