Problem with checking out of TFS and mapping

Hi guys, I have checked in four processes that make up an entire project together in the TFS. Each of them was previously saved in a separate project folder and when checked in, a Branch folder got created in each of them. However, as I progressed with checking in, only through the latest checked-in Branch folder could I enter the actual TFS folder structure, the way I checked it in. Other once were empty at some point. After a couple of days, when I wanted to introduce any changes, I don’t have option to check out, it doesn’t say (Read Only), and I cannot save any changes. When I tried to connect in Project pane to TFS once again, got pop-up that there is something wrong with the mapping, and after that all the project files disappeared (!) from TFS folders.

What is weird is that the files are still there on the server website. And my workmate can see it on their machine, and can check it out and everything is working fine. So it seems like some problem with my local settings or so. Any help?

Hi @salladinne,
Please share with us some screenshots of the problem. Can you please also tell me if you have moved projects between folders locally and/or on TFS server?

Same kind of issue on my side.
I want to save a project on tfs. No message saying that there is something wrong. When i check on the tfs server, the project seems to be not saved…

Hi @salladinne and @ThyBru, you might be facing a TFS workspace issue, as per your descriptions.
Could you please try to check if the projects that are not correctly marked as under TFS are already mapped somewhere on the PC? You can check the mapping paths for all the projects in the workspace, from the following locations:

  • %localappdata%\Microsoft\Team Foundation\6.0\Cache\Volatile\ generated folder \VersionControl.config → for older TFS servers
  • %localappdata%\Microsoft\Azure DevOps\8.0\Cache\Volatile\ generated folder \VersionControl.config → for newer TFS servers

TFS supports mapping of 1 project in 1 location in a user workspace, therefore subsequent checking out of the project might not appear under source control.
Please try to remove the mappings from the config files in the folders above, and try checking out the projects again.

Also, if it is possible, could you please let us know what Studio version you are using, and attach the Studio.log file here.
Thank you!

1 Like

Well to be clear :
i used my laptop under win7 with studio 2019.10.4 installed where i’ve no problem to access and update the script from TFS. (I also used a win 7 vdi to acces and edit script from tfs without any problem since 2 month ago, now this VDI is disable).

Now, i also use a vdi under win10 also with studio 2019.10.4 installed since several month. I think that at the beginning i had no issue with Tfs.

I tried what you proposed on my laptop because on the vdi, there is no config file(also uninstall/install uipath studio twice in the meantine on the VDI), the situation is the same.

when i try to open a script from Tfs on my vdi win10, it opens every time in read only mode.

Thank you for the details, @ThyBru.
Let me see if I understood the issue correctly - on your laptop you had 2 VDI machines - 1 with Win7, 1 with Win 10, both with Studio 19.10.4 (I assume it is the Windows Installer, not the EXE Installer). The Win7 VDI used to work, but you no longer have it.
The Win10 VDI is the one you are facing the current issue with. What is the actual behavior of your check out?

  1. You mentioned that " I want to save a project on tfs. No message saying that there is something wrong. When i check on the tfs server, the project seems to be not saved…" → So here, you create a project > then use Add to TFS > Check In the changes to the TFS > no error is triggered, but you cannot see the project on the TFS server?
  • can we please have the Studio.log file for this action?
  1. You also mention that “when i try to open a script from Tfs on my vdi win10, it opens every time in read only mode.” → Here you try to Open from TFS > Select the desired process > Checking out works as expected, but the project is not under TFS source control (No options for Check In, etc) and the project is in Read-Only mode?
  • can we please have the Studio.log file for this action as well?
  1. " I tried what you proposed on my laptop because on the vdi, there is no config file(also uninstall/install uipath studio twice in the meantine on the VDI), the situation is the same." → Does none of the 2 locations have any config files present on the Win 10 VDI?
  • %localappdata%\Microsoft\Team Foundation\6.0\Cache\Volatile\ generated folder \VersionControl.config
  • %localappdata%\Microsoft\Azure DevOps\8.0\Cache\Volatile\ generated folder \VersionControl.config

Thank you!