TFS Local Workspaces error -TF400030: The local data store is currently in use by another operation.
On a large Visual Studio project I started getting the following error message:
TF400030: The local data store is currently in use by another operation.
This project is using the local workspace feature of TFS, which has a lot of advantages, but has it own set of problems when your solution gets quite large(think 50.000 items or more).
I tried multiple solutions to solve the issue:
- One possible solution is to delete the local workspace and recreate it again. This will clear the local version table, and allows you to start over with a clean slate. We noticed a small performance improvement after doing this.
- An alternative could be to evaluate your current workspace and see if some server side folders should not be mapped. This can help decrease the size of your workspace.
- Another option you have is to change back from a local workspace to a server workspace. As mentioned before, this option is useful only when your workspace contains a lot of items. In that case switching to a server workspace can help as they are proven to scale to up to 10,000,000 items in a single workspace.
More information: http://blogs.msdn.com/b/phkelley/archive/2013/05/31/tf400030-the-local-data-store-is-currently-in-use-by-another-operation.aspx