【问题标题】:Cannot connect Teamcity to Team Foundation Service / TFSPreview.com - Error "You must update your client with the Forward Compatibility Update"无法将 Teamcity 连接到 Team Foundation Service / TFSPreview.com - 错误“您必须使用前向兼容性更新来更新您的客户端”
【发布时间】:2012-12-08 22:25:18
【问题描述】:

Windows 7 64 位构建机器上的 Teamcity 7.1.3

该盒子目前正在愉快地构建存储在 TFS2005 服务器中的 VS2008 项目,但我正在尝试存储在 TFSPreview / TF 服务中的 VS2012 项目,我无法通过设置 VCS 根目录。

单击测试连接时,我得到以下信息..

Test connection failed in VS2012 Test against TFSPreview :: VS2012 - Build 
Configuration for Hello World. TFS failed. ExitCode: 1
stdout: TFS Native Verifier v7.1 Copyright (C) 2006-2012 JetBrains s.r.o.
Running under .NET Framework 4.0.30319.17929
INFO  - Use Tfs from JetBrains.TeamCity.Tfs.Tfs8Accessor
TFS Native Accessor v7.1 Copyright (C) 2006-2012 JetBrains s.r.o.
INFO  - Connecting to server https://[our TFS Area].visualstudio.com/DefaultCollection
Connection test:
  Server='https://[our TFS Area].visualstudio.com/DefaultCollection'
  Username='[username email]'
  Root='$/Hello World'
ERROR - The request failed with HTTP status 400: TF253023: You must update your client   
with the Forward Compatibility Update in order to connect to the Team Foundation Server 
that you selected. To obtain this update, go to the Microsoft Web site:   
http://go.microsoft.com/fwlink/?LinkId=166482.
System.Exception: The request failed with HTTP status 400: TF253023: You must update 
your client with the Forward Compatibility Update in order to connect to the Team 
Foundation Server that you selected. To obtain this update, go to the Microsoft Web 
site: http://go.microsoft.com/fwlink/?LinkId=166482. ---> System.Net.WebException: The 
request failed with HTTP status 400: TF253023: You must update your client with the 
Forward Compatibility Update in order to connect to the Team Foundation Server that you 
selected. To obtain this update, go to the Microsoft Web site: 
http://go.microsoft.com/fwlink/?LinkId=166482.

但是,在运行链接中指定的安装程序时,我收到以下消息:

The upgrade patch cannot be installed by the windows installer service because the   
program to be upgraded may be missing, or the upgrade patch may update a different 
version of the program. Verify that the program to be upgraded exists on your computer 
and that you have the correct upgrade patch.

因此我被困住了。 :(

我还从 VS2005 TFS tfc 目录安装了 Team Foundation Explorer,目的是让我能够运行错误链接中的原始安装程序。但仍然是同样的错误。

我怎样才能克服这个错误?

非常感谢!

【问题讨论】:

  • 您是否使用 TFS 2008 版本的 Team Explorer 连接到 TFS?如果是这样,您是否安装了 Visual Studio 2008 SP1。所有 VS 版本的前向兼容性更新都需要先应用 SP1,然后才能安装。
  • @James,我没有,没有。在尝试连接到 tfspreview/tf 服务之前,我们(仍然)使用 TFS2005 来保存 VS2008 项目,所以我已经安装了那个版本,因为我们与在任何地方安装的 TFS2008 没有任何关系。这是错的吗?我们在 Build Server 上安装了 VS2008,以便创建项目设置工具包,这确实是在 SP1。
  • TFS 似乎认为您正在尝试连接旧版本的 Team Explorer。但看起来 Jetbrains 也为 TFS 提供了一个原生插件。您可以尝试将 Team Explorer 2012 安装到构建服务器上,但这可能行不通。您至少可以使用它来测试从服务器到 TFS 的连接性,但我认为这不是问题
  • 是的,Team Explorer 2012 现在安装在机器上,可以连接到 TF 服务区,所以连接不是问题,正如您所猜测的那样。还应用了 TFSIntegration 插件,但老实说,我真的不知道它是做什么的。无论如何,仍然处于相同的情况,即在 VCS Root 中测试连接要我安装 FCU,但我无法安装 FCU,因为它认为不存在要更新的底层软件。

标签: tfs teamcity teamcity-7.0 azure-devops


【解决方案1】:

好的,基本上这还行不通。 当我输入这个时,TeamCity 的最新版本是 7.1.3,JetBrains 已经回复我说......

7.1.3 supports local TFS 2012 installations. 
What we do not support is Windows Live authentication that is used for cloud instances of TFS.

使用备用凭据在 7.1.3 中也不起作用,因此基本上在当前版本中它看起来像是一个禁忌。

JetBrains 声明它计划在版本 8 中修复,但根据修复情况,它可能被向后移植到 7.x。如果是这样,我会相应地更新。

【讨论】:

  • 我在 TeamCity 8.1.4 中仍然遇到同样的问题。您是否曾从 TeamCity 获得更新或有错误跟踪号?
  • @Japster24 唉,我在这里帮不上什么忙... :( 由于第三方组件无法加载到云 CI 系统中(当时无论如何),我们决定将 TFS 保持在本地,所以我根本没有尝试过。此处记录的原始问题:youtrack.jetbrains.com/issue/TW-25149 有趣的是,它仍然无法正常工作,因为我将在一个月左右重新访问它...
  • @Japster24 毕竟看起来可以进行一些调整...stackoverflow.com/questions/18446930/connecting-teamcity-to-tfs
【解决方案2】:

TeamCity 7.1.4 增加了对 tfsPreview.com 的支持,根据TeamCity Blog

【讨论】:

猜你喜欢
  • 1970-01-01
  • 2013-11-04
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-10-31
  • 2013-05-16
  • 1970-01-01
相关资源
最近更新 更多