TF400324: 服务器 <Server/CollectionName> 中的 Team Foundation 服务不可用;在 Visual Studio 2012 中 [英] TF400324: Team Foundation services are not available from server &lt;Server/CollectionName&gt; in Visual Studio 2012

查看:21
本文介绍了TF400324: 服务器 <Server/CollectionName> 中的 Team Foundation 服务不可用;在 Visual Studio 2012 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Visual Studio 2012 Professional 中打开现有解决方案时,出现上述错误.这曾经可以工作,但在重建计算机后出现了一些问题.

When I open my existing solution in Visual Studio 2012 professional, I got the above error. This used to work but something messed up after the computer is rebuilt.

我已经安装了 Visual Studio 2015 社区并且可以连接到相同的正确收集.

I have installed Visual Studio 2015 Community and can connect to the same collection correctly.

我还尝试使用浏览器连接到同一个集合.它也可以正常工作.
清除 AppDataLocalMicrosoftTeam Foundation4.0Cache 中的所有文件不起作用.
因为 Visual Studio 2015 可以工作,所以它不应该是防火墙或代理问题.
任何人都知道 Visual Studio 2012 有什么问题以及如何修复它?

I also tried to use a browser to connect to the same collection. It works fine also.
Cleaning all files in AppDataLocalMicrosoftTeam Foundation4.0Cache does not work.
It should not be a firewall or proxy issue since Visual Studio 2015 works.
Anyone knows what is wrong with Visual Studio 2012 and how to fix it?

此错误可能在更高版本的 TFS 中发生:

This error can happen with later versions of TFS:

团队基础错误

TF400324:无法从服务器 TFSServerDefaultCollection 获得 Team Foundation 服务.

TF400324: Team Foundation services are not available from server TFSServerDefaultCollection.

技术信息(供管理员使用):

Technical information (for administrator):

无法连接到远程服务器

连接尝试失败,因为连接方在一段时间后没有正确响应,或者由于连接的主机未能响应xxx.xxx.xxx.xxx:443而建立连接失败

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xxx.xxx.xxx.xxx:443

推荐答案

据此博客 解决方案是(是的,它对我有用)

According to this blog the solution is (and Yes it worked for me)

  1. 关闭 Visual Studio
  2. 的所有实例
  3. 打开任务管理器并检查是否有任何 TFS 服务正在运行.
    选择每个服务并点击结束进程树
    (在我的情况我没有找到他们中的任何一个结束)
  4. 浏览到文件夹 %LocalAppData%MicrosoftTeam Foundation
    然后选择包含您的 TFS 版本的文件夹并进入 Cache 文件夹.
    例如,在我的机器上,路径是 %LocalAppData%MicrosoftTeam Foundation7.0Cache 并且它在你的机器上应该是相同的,只是 TFS 版本文件夹名称不同.
  5. 删除 Cache 文件夹中的所有内容.
  6. 启动 Visual Studio 并构建项目
  1. Close all instances of Visual Studio
  2. Open the Task Manager and check if any TFS Services are running.
    Select each of them and click on End Process Tree
    (in my case I did not find any of them to End)
  3. Browse to the folder %LocalAppData%MicrosoftTeam Foundation
    and then select the folder with your TFS version and go inside the Cache folder.
    for example, in my machine the path was %LocalAppData%MicrosoftTeam Foundation7.0Cache and it should be the same on your machine with the difference of the TFS version folder name.
  4. Delete everything in that Cache folder.
  5. Start Visual Studio and build the project

这篇关于TF400324: 服务器 <Server/CollectionName> 中的 Team Foundation 服务不可用;在 Visual Studio 2012 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆