TF400324:无法从服务器< Server/CollectionName>获得Team Foundation服务.在Visual Studio 2012中 [英] TF400324: Team Foundation services are not available from server <Server/CollectionName> in Visual Studio 2012

查看:803
本文介绍了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.

我还尝试使用浏览器连接到同一收藏集.也可以.
无法清除AppData \ Local \ Microsoft \ Team Foundation \ 4.0 \ Cache中的所有文件.
由于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 AppData\Local\Microsoft\Team Foundation\4.0\Cache 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:

Team Foundation错误

Team Foundation Error

TF400324:服务器TFSServer \ DefaultCollection中不提供Team Foundation服务.

TF400324: Team Foundation services are not available from server TFSServer\DefaultCollection.

技术信息(适用于管理员):

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%\Microsoft\Team Foundation\
    ,然后选择具有TFS版本的文件夹,然后进入Cache文件夹.
    例如,在我的机器上,路径为%LocalAppData%\Microsoft\Team Foundation\7.0\Cache,并且在您的机器上,路径应该相同,只是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%\Microsoft\Team 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%\Microsoft\Team Foundation\7.0\Cache 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天全站免登陆