Workspace is already mapped problem  
Author Message
JM Pirelli





PostPosted: Visual Studio Team System - General, Workspace is already mapped problem Top

I just installed TFS (beta 2) and I get the following error message when opening a solution from source control using VS 2005 beta 2 : The path 'd:\temp\xxx' is already mapped in workspace PCMRE\Disney\JMP.

PCMRE is the workstation having this problem, Disney is the domain where TFS is installed and JMP is my own user account. The guy using this workstation has the MRE account.

Due to security misconfigurations on the TFS server (my fault), MRE could not use TFS, so we used my user account on this machine to test TFS. Now that the TFS server is configured well, MRE can use TFS but something's wrong with the workspace configuration.
Getting the solution on a folder on the c: drive is OK, but anywhere on the d; drive causes this error.

Going to File / Source Control / Workspaces, we find only one workspace (called PCMRE). We tried to remove the working folder, and even to delete the workspace, but we still get this error.

Any idea

Thanks in advance,
Jean-Marie Pirelli


Visual Studio Team System13  
 
 
Buck Hodges





PostPosted: Visual Studio Team System - General, Workspace is already mapped problem Top

So the issue is that the server enforces the requirement that each path on a given computer is mapped to only one workspace.  So, it sounds like you have two accounts using the same machine.  One of the accounts has a workspace set up that has already mapped d:\temp.  So when you try to map that path, or a sub folder, to a new workspace for a different user, the server rejects the request.

The solution is one of the following.
  * delete the workspace that has d:\temp mapped, or
  * change the mappings in the workspace that has d:\temp mapped to map it further down (say d:\temp\userB) and then you can map d:\temp\userA in your workspace

You can use the following command to see all of the workspaces for any user on the current computer.
  h workspaces /owner:* /s:<yourservername> /formatBig Smileetailed

Buck



 
 
Chris Menegay





PostPosted: Visual Studio Team System - General, Workspace is already mapped problem Top

Wow, we need to not have the emoticons show up like that....  I assume that is colon-d  Big Smile

 
 
Buck Hodges





PostPosted: Visual Studio Team System - General, Workspace is already mapped problem Top

Idea Yes, I'd love to turn them off in all posts and require folks to click on the icon when they want that.

The current behavior makes a mess of log files too.

Buck

 
 
JM Pirelli





PostPosted: Visual Studio Team System - General, Workspace is already mapped problem Top

Thanks a lot ! That fixed my problem.

Jean-Marie

 
 
Jon D.





PostPosted: Visual Studio Team System - General, Workspace is already mapped problem Top

The command APPEARS in the post to be "h workspaces ..."

The command SHOULD BE "tf workspaces ..."

Probably a smile-face error ... 8-^