Cannot connect Teamcity to Team Foundation Service / TFSPreview.com - Error “You must update your client with the Forward Compatibility Update”

不问归期 提交于 2020-01-04 10:13:18

问题


Teamcity 7.1.3 on a Windows 7 64 bit build machine

The box is currently happily building VS2008 projects stored in a TFS2005 server, but am trying out VS2012 projects stored in TFSPreview / TF Service, and I cannot get past setting up the VCS root.

On clicking Test Connection, I get the following..

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.

On running the installer specified in the link however, I get the following message:

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.

I'm therefore stuck. :(

I've also installed Team Foundation Explorer from the VS2005 TFS tfc directory with the aim of enabling me to run the original installer in the link in the error.. but still the same error.

How can I get past this error?

Many thanks!


回答1:


TeamCity 7.1.4 adds support for tfsPreview.com, according to the TeamCity Blog




回答2:


OK, basically this doesn't work yet. As I type this the most up-to-date version of TeamCity is 7.1.3, and JetBrains have come back to me stating that..

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.

Using the alternate credentials also doesn't work in 7.1.3, so basically it looks like a no-no in the current version.

JetBrains state that it's scheduled to be fixed in version 8, but depending on the fix, it may be backported to 7.x. If so I'll update this accordingly.



来源:https://stackoverflow.com/questions/13988453/cannot-connect-teamcity-to-team-foundation-service-tfspreview-com-error-you

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!