Error when trying to do first commit to TFS
vjacob1
Posts: 57 Bronze 1
I am getting the following error when I try to link a database to use the new version of TFS
The working folder C:\ is already in use by the workspace <Workspace Name>
Do I need to create a new workspace and use that to commit
I am also using Visual Studio to develop SSRS Reports and SSIS Packages which I would need to submit to source control using TFS through Visual Studio
The working folder C:\ is already in use by the workspace <Workspace Name>
Do I need to create a new workspace and use that to commit
I am also using Visual Studio to develop SSRS Reports and SSIS Packages which I would need to submit to source control using TFS through Visual Studio
Tagged:
Best Answer
-
Alex B Posts: 1,158 Diamond 4Hi @vjacob1,
I think my colleague may have sent you this already, but the difference between using TFS and the working folder would be how the commit to TFS is done.
Using the SQL Source Control integration it would be done there from SSMS wtihin the product, but using the working folder, SQL Source Control just saves the changes to the files into the working folder that is located in the workspace and you would need to commit those changes outside of SSMS/SQL Source Control however you normally would.
Kind regards,
Alex
Answers
That error is a TFS error; have a look at these articles for help on correcting that.
https://blogs.msdn.microsoft.com/rob/2012/10/13/solved-the-working-folder-is-already-in-use-by-the-workspace/
https://social.msdn.microsoft.com/Forums/en-US/508484c5-7a7d-41df-9285-1dfdc4d941f6/the-working-folder-folder-is-already-in-use-by-workspacenameusername-on-computer-computername?forum=tfsgeneral
Also, for committing other code alongside your database changes, you may need to link to a working folder that is a part of a local workspace as described on this page:
https://documentation.red-gate.com/soc/linking-to-source-control/other-source-control-systems/link-to-a-working-folder/example-source-controlling-database-schema-and-application-code-together-using-a-working-folder
Kind regards,
Alex
Have you visited our Help Center?
Thanks for the response.
What is the difference between using a working folder compared to using TFS??
How would I commit the changes to TFS - I would need to just do that in Visual Studio like any other file
is that correct?
I would like to have the automated commit , is there anyway to fix the error that I am having?