Reputation: 314
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.
Upvotes: 4
Views: 13465
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
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:
Upvotes: 3