Unable to remap Local Work spaces to TFS server.

  • Thread starter Thread starter joeller
  • Start date Start date
J

joeller

Guest
Good morning all;

I have a problem. I was developing on Visual Studio 2015 Enterprise. I had a project with many branches. They were properly mapped to the workspace on the server.

Then I was out of work for several weeks. During that period my user account timed out for inactivity and was deleted from the TFS server. When I returned the admins had to establish a new user account. As a result of this, the workspace was no longer mapped to local workspace folder.

When I first attempted to remapped, it appeared to go well but in fact I actually mapped the an incorrect folder. When I went into Workspaces edit to correct this, I got an error message saying "The path <localWorkPath>/<branch> is already mapped in workspace <workspacename;DomainUsername."

In the forum "Archived Forums V Team Foundation Server - Source and Version Control" post "How do I reset the local location of a file in source control?", He was able to figure out his issue: "My problem was that I deleted the workspace associated with my local copy of the library in its previous location but I did not remove the binding to that location. When I moved the files and uploaded the change into source control the binding remained and so there was a disconnect between the source control binding location and the active workspace."

Based on what I am seeing I figure my issue is the same due to the removal and re-adding of my user. Unfortunately, he did not go into detail, on how to resolve the issue.

Based on this, the only thing I can see is to go into the proj file of every branch and remove the mapping then remap everything individually.

However as this is so absofrackinglutely tedious and labor intensive, I would have thought that MS would have come up with a process to resolve this. Does anyone know if this is true? All advice is appreciated.

Moderators: I was not able to locate a "Team Foundation Server" active forum in the drop down list. So I put it in the Visual Studio General Question forum. If the "Team Foundation Server" exists elsewhere, can you move this post there?





Edward R. Joell MCSD MCDBA

Continue reading...
 
Back
Top