Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor

来源:互联网 发布:led屏幕控制软件 编辑:程序博客网 时间:2024/05/17 22:07
 

/* from: http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/01/31/unable-to-connect-to-the-microsoft-visual-studio-remote-debugging-monitor.aspx */

Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'DOMAIN\USER@MACHINENAME'. The Visual Studio Remote Debugger on the target computer cannot connect back to this computer. Authentication failed. Please see Help for assistance.

 

第一次遇到这个问题,放狗搜了一下,看了这篇,顺手翻一下吧,看起来很简单

 

这个问题烦了我很久,那个环境一直工作得很好,但是每隔几天我要用的时候,我就会遇到这个错误

Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'DOMAIN\USER@MACHINENAME'. The Visual Studio Remote Debugger on the target computer cannot connect back to this computer. Authentication failed. Please see Help for assistance.

如果你用Google搜索一下,你就会发现这个问题是由于某些原因,远程计算机不能连接到本地而引起的。看起来,这是一个验证的问题。几乎所有的文章都要你确认远程计算机运行remote debugger的用户在本地计算机拥有权限。我在远程和本地都使用administrator这个用户(密码也要相同),所以应该不是这个问题。

我是怎么解决这个问题的呢?重启远程的计算机。这个方法确实解决了这个问题。我曾经试着重启visual studio或者其他东西,都没有用。对我唯一有用的就是重启远程计算机。而且,VS2005和VS2008都存在这个问题(VS2010也这样)。