Mac Lee
Mac Lee

Reputation: 314

TFS Workspace issue: The path xxx is already mapped in workspace XXXXXXX

There

Please look at below for the error. Actually, I have list all the work spaces on the the server (I'm TFS admin), the work space "CNXA1ER-L0429_VS2012" cannot be found. Also the work space cannot be found via VS of local developer machine.

So I cannot remove the mapping. enter image description here

Upvotes: 4

Views: 13465

Answers (2)

Javier Mateos
Javier Mateos

Reputation: 11

In tfs 2015, the more easy is go to the table of the workspaces in the database and remove manually the old workspaces. This worked for me

Upvotes: 1

Max Mansfield
Max Mansfield

Reputation: 69

I would recommend using the command line to delete the offending workspace:

tf workspace /delete /collection:yourserver:8080/tfs/yourcollection CNXA1ER-L0429_VS2012;ownerofworkspace

As a TFS Admin you should have the permission to administer the workspaces of others so this shouldn't be an issue to delete.

Another method is to use Attrice Sidekicks to delete the workspace which is easier to use but I have sometimes found in the past that it doesn't display all workspaces.

If you cannot find the workspace at all please try to clear the Visual Studio Cache per this link:

http://blogs.msdn.com/b/willy-peter_schaub/archive/2010/09/15/if-you-have-problems-with-tfs-or-visual-studio-flush-the-user-cache-or-not.aspx

Upvotes: 3

Related Questions