Error: Kerberos Authentication Failed
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
When you try to do remote debugging, you might get the following error message:
Error: The Visual Studio Remote Debugger on the target computer cannot connect back to this computer. Kerberos auythentication failed.
This error occurs when the Visual Studio Remote Debugging Monitor is running under the Local System or Network Service account. Under one of these accounts, the remote debugger must establish a Kerberos authentication connection to communicate back to the Visual Studio debugger host computer.
Kerberos authentication is not available under these conditions:
Either the target computer or the debugger host computer is on a workgroup, instead of a domain
- or -
Kerberos has been disabled on the domain controller.
If Kerberos authentication is not available, change the account that is used to run the Visual Studio Remote Debugging Monitor. For the procedure, see Error: The Visual Studio Remote Debugger service on the target computer cannot connect back to this computer.
If both computers are connected to the same domain and you still get this message, verify that DNS on the target computer is correctly resolving the name of the debugger host computer. See the following procedure.
On the target computer, open the Start menu, point to Accessories and then click Command Prompt.
In the Command Prompt window, type:
The first line of the
pingresponse shows the full computer name and IP address returned by DNS for the specified computer.
On the debugger host computer, open a Command Prompt window and run
Compare the IP address values.