“The path is already mapped to workspace…”
I just recently setup a new Team Foundation Server installation on a newer more powerful server. The older server was quickly taken offline. I stripped the source control bindings from old projects and proceeded to bind them to the new server. In doing so, I was given the following error:
The path <path> is already mapped to workspace <workspace>.
A quick search lead me to a post by Buck Hodges, the lead developer on the Team Foundation Build team.
The solution is fairly easy. An XMLÂ file named VersionControl.config stores the mappings you have to each workspace and Team Foundation Server. On Vista, this file is located at:
C:\Users\<username>\AppData\Local\Microsoft\TeamFoundation\1.0\Cache\VersionControl.config
Open up that file and remove the appropiate <ServerInfo> entry that pertains to the decommissioned server.