TF400030 – [Solved] – The local data store is currently in use by another operation – TFS 2012

Posted on Updated on


Introduction

In this very short post, we are going to briefly discuss a couple of common errors encountered in TFS 2012 when using local workspaces, running multiple instances of Visual Studio 2012, and having a large codebase.

Problem Description

If you are using TFS 2012 (including TFS 2012 Express) you may encounter one of the following errors:

  • TF400017 – The workspace properties table for the local workspace [name] could not be opened.
  • TF400030 – The local data store is currently in use by another operation. Please wait and then try your operation again. If this error persists, restart the application.

Pay particular attention to the highlighted word, local. These errors generally occur when you have a local workspace.

I was able to resolve this problem on my development machine by simply making sure that my workspace location was set to Server. Though this is the standard configuration we utilize internally, for some reason I had erroneously set my new workspace and forgotten to change its location. 😦

To ensure your workspace is a Server workspace, open your Team Explorer, select Source Control Explorer, then select your workspace and make sure that the location is set as shown below:

TFS 2012 - TF400030, TF400017

Once you set the workspace location to Server, the poor performance and unpredictability should disappear! Happy coding!

 

 

8 thoughts on “TF400030 – [Solved] – The local data store is currently in use by another operation – TFS 2012

    joseph said:
    November 11, 2014 at 11:32 pm

    Good catch. No need to change workspace

    Like

    Joan Picornell said:
    September 25, 2015 at 3:37 am

    Thank you John. Very useful and well explained

    Like

    Joan Picornell said:
    September 25, 2015 at 3:38 am

    Thank you

    Like

    Ruven Naidoo said:
    August 19, 2016 at 10:09 am

    The easiest solution is to create a new working directory.
    1. Rename the old one.
    2. Delete the Current active working folder from working folders: Source Control Explorer>Workspace Edit > Working folders
    3. Create the working folder again.
    4. Get latest version of your solution.

    Like

    Shaolei Zhang said:
    February 6, 2017 at 1:34 am

    Thank you!!!!!!!!!!!!!!!!!!!!!!

    Like

    Tfs user said:
    February 9, 2017 at 1:36 am

    Thanks a lot man…

    Like

    Hakan Gokhan Mamaci said:
    April 19, 2017 at 9:58 am

    Thank you

    Like

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s