GithubHelp home page GithubHelp logo

Comments (14)

jeffyoung avatar jeffyoung commented on August 19, 2024 4

I've looked into this issue, understand the problem and am working on the solution. Unfortunately, it isn't one of those "one line" fixes and I don't have a solid ETA at this point.

from azure-repos-vscode.

jeffyoung avatar jeffyoung commented on August 19, 2024 1

Thanks for all of the feedback on that private build. I just released 1.116.1 with the fix.

@nishantkagrawal I believe that issue is the same as #175 (basically, you've mapped multiple team projects into a single workspace and the extension looks just at the first one).

@paumayr I'd like to hear more about that issue (including what the experience is) when the checkin fails. If you would, I'd appreciate a new issue for it (so I can keep the investigation all in one spot).

from azure-repos-vscode.

nickyoung23 avatar nickyoung23 commented on August 19, 2024

I am also getting the same issue. Same error message trying to perform any TFS operations using Visual Studio Code, performing the same operations in Visual Studio 2017 works fine.

TFS server in this case is 2017 Update 1 and the local workspace is a newly created one.

from azure-repos-vscode.

joshjohanning avatar joshjohanning commented on August 19, 2024

Same issue. Does this extension only work when Basic Auth is turned on the TFS server?

from azure-repos-vscode.

jeffyoung avatar jeffyoung commented on August 19, 2024

Hi everyone. Thanks for trying out the TFVC support!

Based on this error message fragment, needs the following permission(s) to perform this action: Edit instance-level information, that's a good indication that the issue is related to TFVC permissions. Based on the log file (thanks for providing it!), the extension was able to connect to another server endpoint to validate the collection Url that was parsed out of the workfold command. So the connection to the server is authenticating fine in this case.

The next thing the extension needs to do is get information about the project collection (including the collection name, id and url) and it's at that point we get this error. Once it gets the project collection information, the extension goes out and gets the team project information (including the team project id, name, description and url). All of this information is needed to make additional calls to the server to get back work items, builds, etc.

I'll need to take some time and figure out which call is failing and why (which permissions are necessary). Failing that, perhaps there's another way to get the same information.

@soccerjoshj07 No, you don't need to enable Basic Auth on the server.

from azure-repos-vscode.

jvsca avatar jvsca commented on August 19, 2024

Same here TFS 2015 U3.

from azure-repos-vscode.

frodesigns avatar frodesigns commented on August 19, 2024

Also having this issue on a newly set-up TFS 2015 Update 3.

from azure-repos-vscode.

jeffyoung avatar jeffyoung commented on August 19, 2024

Hi everyone.

I'm finishing up some changes that should address this issue but would appreciate it if you could give the attached VSIX a try? You need to uninstall 1.116.0 and then side-load this VSIX. After downloading the ZIP file, you'll need to rename it to team-0.116.0.vsix (I had to add the .zip suffix so I could attach it here). Then, after selecting the Extension viewlet, click the ... menu and choose Install from VSIX... and then select that VSIX file.

I'd appreciate any feedback (whether it works, doesn't, etc.). Thanks!

team-0.116.0.vsix.zip

from azure-repos-vscode.

nishantkagrawal avatar nishantkagrawal commented on August 19, 2024

The error is now gone. I can see the Collection name in the status bar. But still all the changes are listed in the Source Control window instead of just showing the changes in the current folder.

from azure-repos-vscode.

paumayr avatar paumayr commented on August 19, 2024

Hi @jeffyoung, I tried the vsix you attached and it now works for me. Now, I just can't check in because I need to provide a code reviewer ...

from azure-repos-vscode.

nickyoung23 avatar nickyoung23 commented on August 19, 2024

Thanks @jeffyoung, the version you attached works for me. I can check out, edit and check in successfully now.

from azure-repos-vscode.

nishantkagrawal avatar nishantkagrawal commented on August 19, 2024

@jeffyoung : Correction, The status bar shows me the incorrect project name. I am connected to multiple projects, it is picking up the first one.

from azure-repos-vscode.

joshjohanning avatar joshjohanning commented on August 19, 2024

@jeffyoung Does TFS on-premises need to have Basic Auth turned on for this extension to work? I am having troubles logging in.

from azure-repos-vscode.

jeffyoung avatar jeffyoung commented on August 19, 2024

@soccerjoshj07 No, you don't need to enable Basic Auth on the server.

Can you have a look at the other open auth issues and see if any of those apply? If so, it'd be great if I could get your logs to have a look (add them to the issue that applies). If not, please open a new issue and supply as much information as you can. Thanks!

from azure-repos-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.