【问题标题】:Unable to automatically step into the server. Connecting to the server machine "abc" failed无法自动进入服务器。连接到服务器机器“abc”失败
【发布时间】:2012-07-27 18:35:21
【问题描述】:

请帮帮我。它在第二行显示错误。

var tfs = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri("http://abc..."));
WorkItemStore  wiStore = tfs.GetService<WorkItemStore>();  //error here          
return wiStore.Projects;

错误:无法自动进入服务器。连接到服务器计算机“abc”失败。调试器无法连接到远程计算机。这可能是因为远程计算机不存在或防火墙可能阻止与远程计算机的通信。请参阅帮助以获得帮助。

【问题讨论】:

  • 你试过写IP吗?
  • 是的,仍然显示相同的错误。我可以使用 F5 运行整个应用程序,但在调试其显示错误时。
  • 您正在尝试调试位于另一台计算机中的服务本身,这就是您收到该错误的原因。您真的要调试服务吗?还是别的什么?

标签: c# .net exception-handling tfs tfs-workitem


【解决方案1】:

您需要使用 msvsmon.exe 在远程服务器中启用远程调试。请查看以下帖子以获取相同的信息

http://www.sadev.co.za/content/how-debug-workflow-assemblies-and-plug-ins-mscrm-40

【讨论】:

    猜你喜欢
    • 2018-04-11
    • 2018-03-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-03-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多