Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

The Workspace X is already mapped to Path Y

Posted on by

I am trying to connect my Dev environments to TFS but anytime I try to enable source control, i get the error message saying the Workspace X is already mapped to the Path Y

.1663.Error.PNG

I am the only one using the environment and I can see that the workspace was correctly created in Visual Studio. There is only one instance of the workspace and the location is on the server. 

When I dug into it further, I can see that there are two instances of the same workspace in the C:\Users\<User Name>\AppData\Local\Microsoft\Team Foundation\3.0\Cache\VersionControl.config file.

VersionControl.png

Question - Why is AX trying to create multiple workspaces with the same name instead of using the first one?

Any help would be greatly appreciated.

I am using TFS 2017 with AX 2012 R3 CU12.

*This post is locked for comments

  • Suggested answer
    pawan55 Profile Picture
    pawan55 10 on at
    RE: The Workspace X is already mapped to Path Y

    Hello, You can follow my guide to overcome this error

    https://axparadise.com/the-path-is-already-mapped-in-workspace/

  • Jacqueline Olson Profile Picture
    Jacqueline Olson 635 on at
    RE: The Workspace X is already mapped to Path Y

    Thank you for the tip!  I am using tfs 2017.  Installing the pre-requisites fixed the issue for me as well. So these are the pre-reqs I installed -

    Installed this first on the AX client machine -

    https://marketplace.visualstudio.com/items?itemName=EdH-MSFT.TeamFoundationServer2010SP1ObjectModelInstaller

     

    then you need to apply this kb (KB 2662296) –

    https://support.microsoft.com/en-us/help/2662296/fix-an-update-for-visual-studio-2010-sp1-is-available-to-add-compatibi

    Thanks,

    Jackie Olson

  • Suggested answer
    RE: The Workspace X is already mapped to Path Y

    Hello, yes in my case I was missing a pre-requisite.

    Make sure you have the pre-requisites mentioned in the system requirements installed

    www.microsoft.com/.../details.aspx

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The Workspace X is already mapped to Path Y

    Hi Kayvan,

    We have encountered the same problem as you report.

    Have you find a solution for this problem?

  • RE: The Workspace X is already mapped to Path Y

    Hi Jaya,

    I have tried those links as well.  I have verified that there were no workspaces that existed before I Launched AX. The minute I Launch AX, it tries to create two workspaces with the same name and I get into a conflict.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
  • RE: The Workspace X is already mapped to Path Y

    Hi Jaya,

    I tried that already.

    I deleted all the workspaces from visual studio and cleared the cache file but the next time I login to AX it creates two workspaces with the same exact name.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The Workspace X is already mapped to Path Y, AX 2012 - TFS 2017

    Kavyan,

    Refer the below links to resolve the issue:

    community.dynamics.com/.../ax2012-tfs-online-quot-the-path-x-is-already-mapped-in-workspace-y-quot

    community.dynamics.com/.../141585

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans