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

StackOverflow https://stackoverflow.com/questions/13988453

質問

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!

役に立ちましたか?

解決

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

他のヒント

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top