TFS 2012 Issue: Get Workspace already exists connecting with VS 2008 or VS 2010

Audience

Everyone

You may get a “workspace already exists” when you have VS 2008 or VS 2010 installed as well as VS 2012 and you try to connect them to TFS 2012.

image
Figure: The Workspace already exists on computer

This results in this error ever time you start VS 2010 or VS 2008.

Applies to

  • Visual Studio 2008 connecting to Team Foundation Server 2012
  • Visual Studio 2010 connecting to Team Foundation Server 2012

Finding

If Visual Studio 2012 is the first thing that you open to create a new workspace against a new collection a default workspace of “computername;username” will be created as a “Local” workspace.

When you subsequently open VS 2008 or VS 2010, which do not support Local Workspaces, you get this error when it tries to create a workspace. Visual Studio does not detect that this workspace already exists as when it queries the server the “agent” filtering does not return local workspaces.

Workaround

Manually create a “Server” workspace for use in VS 2010 and VS 2008.

image
Figure: Create a new Workspace with a new Name

  1. Select “File | Source Control | Workspaces… | Add…”
  2. Fill out a new name and then select “OK”
  3. Select your new Workspace from the drop down

You can now connect to Source Control..

Originally published at Where Technology Meets Teamwork by Martin Hinshelwood, Senior ALM Consultant. (source)

Create a conversation around this article

Share on Facebook
Share on Twitter
Share on Linkdin

Read more

Martin Hinshelwood
The Boards in Azure DevOps are a powerful tool that your teams can leverage to enable transparent visualization of the current state of value delivery.  However, the inclusion of Blocked columns can stealthily erode the very foundations of efficiency these boards are meant to uphold. By obfuscating the state of …
Martin Hinshelwood
This week, I participated in a Scrum.org Webinar hosted by Sabrina Love (Scrum.org Product Owner) as well as my colleagues, Joanna Płaskonka, Ph.D. and Alex Ballarin 🇺🇦 to discuss the state of learning and how immersive learning is the future of training. You can watch the video below to hear …
Martin Hinshelwood
Business Leaders face a key challenge when scaling their organisations effectively while maintaining the distinctiveness that made us successful in the first place. Many frameworks and methodologies, such as Scaled Agile Framework (SAFe) or the Spotify Model, promise a structured approach to scaling, but do they genuinely fit our unique …
Martin Hinshelwood
As we inch further into the dynamic landscape of the 21st century, our long-established Alpha organisations stand on shaky ground. The organisations whose DNA is infused with strict command and control, woven into the fabric of every process, are feeling the tremors of a rapidly evolving, technologically charged market. Not …