TF400324: Team Foundation services are not available from server…

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了TF400324: Team Foundation services are not available from server…相关的知识,希望对你有一定的参考价值。

Quick Fix

As a quick fix you can

  1. Close Visual Studio and related apps
  2. Browse to %LocalAppData%\Microsoft\Team Foundation\4.0\Cache and delete all the contents of that folder

This isn’t ideal as you will need to do this for each client and every time you switch between the 2.

Better Fix

As a better and more user friendly fix, you can

  1. Do the Quick Fix
  2. TS to the server where you have The new TFS server with a copy of your collection attached (my TFS 2013 instance)
  3. Open a command line window in Administrator mode
  4. Run cd C:\Program Files\Microsoft Team Foundation Server 12.0\Tools”
  5. Run tfsconfig ChangeServerID /sqlinstance:<Your Sql Instance Name> /databasename:<Your configuration Database Name> /ProjectCollectionsOnly
  6. This should bring up a message that says “The command ChangeServerId should only be run against a set of Team Foundation Server databases that have no application tiers configured. Do you want to continue with this operation? (Yes/No)
  7. Type Yes and hit enter

Now you should be fine to use both instances of TFS with the same collection name without issues

以上是关于TF400324: Team Foundation services are not available from server…的主要内容,如果未能解决你的问题,请参考以下文章

TF259035:Team Foundation Server 将环境置于失败状态

将 TF.exe 与 Team Foundation Service 一起使用?

TF30040: 未正确配置数据库。请联系您的 Team Foundation Server 管理员

SharePoint 中的 Visual Studio Team Foundation 服务器 Web 部件无法连接到 TFS 2015 Update 3

错误 TF400013:出现意外的数据库错误。请联系您的 Team Foundation Server 管理员。 (代码:207)

TFS 2015 版本定义“TF30040:数据库配置不正确。请联系您的 Team Foundation Server 管理员。”