0

I was trying to map workspace, due to some issue I have canceled the process and deleted the entry from Manage Workspace. But when I retried the process, I am getting below error

"The workspace [workspaceName];[Owner] already exists on computer [ComputerName]"

I have tried below things to resolve it

1) using VS Command prompt

First display list of workspaces for named computer giving workspace name and owner:

>tf  workspaces /computer:oldComputerName /collection:”http://devsrvr:8080/tfs/DefaultCollection”



To delete:

>tf workspace /delete WorkSpaceName;OwnerName /collection:”http://devsrvr:8080/tfs/DefaultCollection”

But listing command is not showing any workspace. so this option dosen't help me. I got the help reference form here

2) Tried Repair Local Visual Studio TFS Workspace Mapping by clearing cache data from %localappdata%\Microsoft\Team Foundation\5.0\Cache. This option also didn't work for me. I am still getting same error. Reference

3) Checked Control Panel >> User Account >> Mange Password for deleted the enetries (It is used to work with older VS version). But this also didn't work.

Please let me know if any one know the resolution.

tourist
  • 4,165
  • 6
  • 25
  • 47
SKiran
  • 115
  • 12

1 Answers1

1

You may try the items below:

  1. Close VS.

  2. Removes the specified workspace entry with the command line: tf workspaces /remove:(*|workspace1[,workspace2,...]) /collection:(*|TeamProjectCollectionUrl)

  3. Delete the workspace with command tf workspace /delete [/collection:TeamProjectCollectionUrl] workspacename[;workspaceowner] [/login:username,[password]]

  4. Create a workspace with new name and then retry deleting the old workspace.

Cece Dong - MSFT
  • 29,631
  • 1
  • 24
  • 39
  • I have tried list it using tf workspaces /computer:oldComputerName /collection:”http://devsrvr:8080/tfs/DefaultCollection” But it is not showing any workspace. – SKiran Jun 28 '18 at 10:34
  • It worked, It was configured on old computer. Since I was not having access to delete the old one, I just configured with new name. ;) – SKiran Jun 29 '18 at 13:01