Click here to Skip to main content
13,552,926 members
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

92.4K views
4 bookmarked
Posted 28 Jun 2013
Licenced CPOL

TF400324: Team Foundation Services Are Not Available From Server…

, 28 Jun 2013
Rate this:
Please Sign up or sign in to vote.
TF400324: Team Foundation Services are not available from server…

Full Error

TF400324: Team Foundation services are not available from server <Server/CollectionName>. Technical information (for administrator): Page not found.

Problem

This error could occur if you have moved a collection from one server to another and a client application connects to both servers. In my case, this is because I’m running TFS 2012 on one server for production use and have backed up and restored a collection to a newly installed TFS 2013 Preview so that I can configure the process template (Upgrading to Visual Studio Scrum 3.0 process template in TFS 2013) to take advantage of the new features in 2013 and test that before moving/upgrading the production 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 two.

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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Gordon Beeming (RSA)
Software Developer Nologo Studios
South Africa South Africa
Gordon Beeming works at Nologo Studios in the sunny city of Durban, South Africa. He is the Lead for the Data and Services Team and has a strong focus on Developer Efficiencies and R&D. When he's not hacking away at a keyboard in Visual Studio he'll generally be relaxing with his family or hitting the black top getting in some mileage. He is a Visual Studio ALM Rangers, Visual Studio ALM MVP.

http://beeming.net

You may also be interested in...

Comments and Discussions

 
QuestionWhat's the TS? Pin
‫احمد یوسفی‬‎28-Oct-16 20:38
member‫احمد یوسفی‬‎28-Oct-16 20:38 
AnswerRe: What's the TS? Pin
Gordon W Beeming28-Oct-16 22:47
professionalGordon W Beeming28-Oct-16 22:47 
QuestionThanks for this great article! Pin
Manfred Rudolf Bihy1-Apr-16 0:14
professionalManfred Rudolf Bihy1-Apr-16 0:14 
Questionmultiple cache folders Pin
KevinPo23-Sep-15 3:56
memberKevinPo23-Sep-15 3:56 
QuestionError still exists please helo Pin
ramyajaya9-Jul-15 6:40
memberramyajaya9-Jul-15 6:40 
AnswerRe: Error still exists please helo Pin
KevinPo23-Sep-15 3:58
memberKevinPo23-Sep-15 3:58 
QuestionThe gift that keeps on giving! Pin
alan.us25-Dec-14 8:43
memberalan.us25-Dec-14 8:43 
Questionthe quick fix works!!! Pin
Yingwei Yang28-May-14 12:30
memberYingwei Yang28-May-14 12:30 
GeneralWorked! Pin
EBYRWA16-Dec-13 4:31
memberEBYRWA16-Dec-13 4:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01-2016 | 2.8.180515.1 | Last Updated 28 Jun 2013
Article Copyright 2013 by Gordon Beeming (RSA)
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid