a·gen·tic a·gil·i·ty

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

TL;DR; Explains how to resolve the “workspace already exists” error when connecting Visual Studio 2008 or 2010 to TFS 2012 by manually creating a Server workspace.

Published on
2 minute read
Image
https://nkdagility.com/resources/ZbdFc4NfQUe
Subscribe

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.

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

Figure: The Workspace already exists on computer

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

Applies to

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.

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

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 )

Smart Classifications

Each classification [Concepts, Categories, & Tags] was assigned using AI-powered semantic analysis and scored across relevance, depth, and alignment. Final decisions? Still human. Always traceable. Hover to see how it applies.

Subscribe

Connect with Martin Hinshelwood

If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.

Our Happy Clients​

We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.​

Lockheed Martin Logo

Lockheed Martin

Milliman Logo

Milliman

Boxit Document Solutions

Microsoft Logo

Microsoft

MacDonald Humfrey (Automation) Ltd. Logo

MacDonald Humfrey (Automation) Ltd.

DFDS Logo

DFDS

Brandes Investment Partners L.P. Logo

Brandes Investment Partners L.P.

Bistech Logo

Bistech

Deliotte Logo

Deliotte

YearUp.org Logo

YearUp.org

Schlumberger Logo

Schlumberger

NIT A/S

Qualco Logo

Qualco

ALS Life Sciences Logo

ALS Life Sciences

Alignment Healthcare Logo

Alignment Healthcare

Epic Games Logo

Epic Games

Emerson Process Management Logo

Emerson Process Management

Capita Secure Information Solutions Ltd Logo

Capita Secure Information Solutions Ltd

Ghana Police Service Logo

Ghana Police Service

Nottingham County Council Logo

Nottingham County Council

Department of Work and Pensions (UK) Logo

Department of Work and Pensions (UK)

Royal Air Force Logo

Royal Air Force

Washington Department of Transport Logo

Washington Department of Transport

Washington Department of Enterprise Services Logo

Washington Department of Enterprise Services

Jack Links Logo

Jack Links

Emerson Process Management Logo

Emerson Process Management

Workday Logo

Workday

Akaditi Logo

Akaditi

Healthgrades Logo

Healthgrades

Hubtel Ghana Logo

Hubtel Ghana