TF400018: The local version table for the local workspace ‘pc name’;’user’ could not be opened. The workspace version table contains an unknown schema version.

I had this problem yesterday, my nightmare. First thing come into my mind is to back all my project files. As I have a lot of branches in TFS for different projects. I’ll share what I did to solve this issue.

1. Backup all projects. It takes a lot of time, but is worth it I think, just in case.

2. remove current workspace and reset the workspace to the current project folder. You can find it here. File -> Source Control -> Advanced -> Workspace.

3. Go to Source Control Explorer and get the latest version of your project.

4. Close the Visual Studio.

5. Go to the project folder in your local PC and replace the projects folder with the one you have backup.

6. Open the project in Visual Studio. All your newly added and uncheck-in files will be inside. Add them back to the project.

* This can be done unless there is no one updated the project in TFS while you are solving this issue, else you have to get latest version after adding your newly added files.

One thought on “TF400018: The local version table for the local workspace ‘pc name’;’user’ could not be opened. The workspace version table contains an unknown schema version.

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