-
Notifications
You must be signed in to change notification settings - Fork 449
VSTS does not prompt signin when opening a TFVC folder #173
Comments
When I try to signin I have the following error : no team services or team foundation server repository configuration was found |
Hi @TechWatching. Thanks for trying out the TFVC support! This is typically an issue when the extension doesn't detect a repository in that folder (for some reason). We'll just need to figure out what the reason is. 😄 In the other thread, #58, you mentioned you were on a PC. Can you tell me which TF client you set up via the Finally, if you could enable logging, re-start VS Code and open the same folder then provide the contents of that log, that would help. |
Thanks for your answer. |
Hi @TechWatching, is there any way you could provide more of the log (and certainly remove any specifics)? I'm curious to know if your server is local (on-premises) or a perhaps hosted implementation of Team Foundation Server (that is, hosted by a service provider). I'd also like to know if the server is set up for HTTPS (which we need to debug as we've got several issues with the extension, #59 being one). |
Sorry with the week-end and the bank holiday I have not been able to provide you more info sooner. |
OK, thanks for the information. I presume you edited this line Regardless, can you open a command prompt and run the same command? Essentially, |
Ah okay, then it's not https as there is no https in the server informationI removed. Running this command in command line outputs : So what is strange is that the command seams to work with the command line but not through VS Code. |
It's certainly a bit odd that it would work in the command line but not through VS Code (since the VS Code extension calls the command line; although it uses the credentials you provided when you signed in via the extension). Can you ensure you've updated the extension to 1.117.0 and give it another shot? We had a permissions issue (#172) previously that I made a fix for (although I don't think it was for a TF30063 error). I also notice that you've mapped the entire team project collection via |
When you say "credentials you provided when you signed in via the extension", what are you talking about ? Because actually when I open the folder on vs code, nothing happen, vs code does not recognize this folder is mapped to a tfs project : when I type the signin command I have the following message : "(team) No Team Services or Team Foundation Server repository configuration was found. Ensure you've opened a folder that contains a repository." Indeed I have several projects in my team project collection but I have only one in local mapped. I gave it a try but it didn't work either when I try from a folder inside my Team Project. I don't know what other information I could give you. Do you think it could be linked to my proxy or something like that ? |
So what I'm referring to is the behavior that will happen when you open a folder to a local TFVC workspace. We detect one by a successful run of However, I'm starting to think that this is the same situation as #185 and #176. Since you can run I'm going to see if I can detect server workspaces and make it apparent (in the UI somehow) that a local workspace is necessary. However, I'd still like to know if that's the case for you. |
You are right : location is "Server" on my dialog. |
Great, thanks! The workaround at this point is to change it to a local workspace. Here's some documentation on the differences between server and local workspaces. (Duplicate of #176) |
@jeffyoung I have same error as discussed in this thread and my Location is also local not Server on tf workspace dialog. I have tried everything could not get it fixed. |
I was getting the same error, but it worked after i put the Open VsCode -> File -> Preferences -> Settings -> Search |
It seems that VSTS is not able to recognize my TFVC folder as part of a repository.
VSTS version 1.116.0
VS Code Insider last build.
The text was updated successfully, but these errors were encountered: