TF400324 [Solved] – Team Foundation services are not available from server

Posted on Updated on


I first encountered this error one Saturday evening while working from home. I have several devices sharing a not-so-good wireless router and I have experienced it a few times during periods of high internet activity within my house. I mention this because one of the common causes of this error is an abrupt closure of a TFS connection by the client machine which can be due to an unreliable internet connection.

Common Root Causes

The common root causes of a TF400324 error are:

  • An abrupt termination of TFS services from a client machine
  • A corrupt TFS client installation
  • Multiple versions of TFS (2010, 2012, 2013) setup on the same client machine
  • Multiple team project collections across possibly multiple versions of TFS (that can be fun!)

In my case, the cause was the first one.

Quick Solution

The quick resolution to this problem is to clear your local TFS cache. Don’t worry, this will not cause issues with any pending check-ins that you may have.

Follow these steps:

  1. Close ALL instances of Visual Studio and ensure that there are no devenv.exe processes running.
  2. Open My Computer and browse to your c:\Users\<UserName>\AppData\Local\Microsoft\Team Foundation\ folder and depending on the version of TFS that you are running, open the folder that corresponds to that version. Open the version folder and delete all files and sub-folders.
  3. Open Visual Studio again and select Connect to Team Foundation Services from the Team menu.
  4. If the connection fails, find the Sign In link at the bottom left corner of the dialog box and click it. If you are prompted for your credentials, enter them and continue. See the screenshot below.

TFS400324 - reconnect to TFS

Once you re-establish your connection you will see that all pending check-ins are still in tact and you are good to go.



4 thoughts on “TF400324 [Solved] – Team Foundation services are not available from server

    S_Abolfazli said:
    August 17, 2016 at 12:23 am

    i dont have Team Foundation folder 😦


      johnnels responded:
      August 17, 2016 at 7:28 pm

      Good evening! Try searching your local drives for that folder. By default, it is created under the path identified in the post, but if you have Visual Studio with the Team Foundation client, you will have that folder somewhere. Let me know if you still can’t find it.


    anil said:
    November 20, 2016 at 2:36 am

    this worked for me.


    marin said:
    July 16, 2019 at 3:05 am

    There is no Team menu anymore though


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s