9

I have a server that the team foundation server is installed on. I can connect to TFS from several computers, but I can't connect to its from my laptop through internet. I can connect to it from web, but I can't via team explorer.

Indeed I can't add server via team explorer in visual studio, and I receive following error.

TF31002 Error message

I have connected to this server for 3 months. Then I deleted the team project from server and worked offline. Now I want to add my solution to TFS, but I can't connect to it.

4

2 回答 2

2

刷新 TFS 缓存为我修复了这个错误。这样做;

删除以下文件夹中的内容

  • C:\Users\<>\AppData\Local\Microsoft\Team Foundation
  • C:\Users\<>\AppData\Local\Microsoft\VisualStudio
  • C:\Users\<>\AppData\Local\Microsoft\VSCommon

在命令提示符下转到 Visual Studio IDE 文件夹,然后从 Visual Studio IDE 文件夹运行以下命令“devenv /resetuserdata”。

  • 64 位的典型位置:C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
  • 32 位的典型位置:C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE

另外,不确定它是否有所作为,但我也删除了这个注册表项;

  • KEY_CURRENT_USER\Software\Microsoft\VSCommon\12.0\ClientServices\TokenStorage

来源和更多细节在这里

于 2018-04-05T19:20:03.810 回答
1

如果您使用的是比 TFS 更旧的 VS 版本,请确保安装前向兼容包。

于 2013-03-20T07:39:29.230 回答