Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

TFVC: Error TF30063 when attempting to connect to a "Server" workspace #176

Closed
eogas opened this issue Apr 13, 2017 · 45 comments
Closed

TFVC: Error TF30063 when attempting to connect to a "Server" workspace #176

eogas opened this issue Apr 13, 2017 · 45 comments

Comments

@eogas
Copy link

eogas commented Apr 13, 2017

It's not particularly clear from the documentation whether or not this is intentional, but it seems that there is currently only support for local TFVC workspaces. When attempting to connect to a "Server" workspace, I get the following debug output:

2017-04-13T19:29:26.584Z - info:   [11492] *** FOLDER: c:\devtools ***
2017-04-13T19:29:26.595Z - debug:  [11492] Looking for an External Context at c:\devtools
2017-04-13T19:29:26.596Z - debug:  [11492] No External Context at c:\devtools
2017-04-13T19:29:26.603Z - debug:  [11492] Looking for TFVC repository at c:\devtools
2017-04-13T19:29:26.604Z - debug:  [11492] TFVC Creating Tfvc object with localPath='undefined'
2017-04-13T19:29:26.605Z - debug:  [11492] Using TFS proxy: undefined
2017-04-13T19:29:26.606Z - debug:  [11492] TFVC Retrieved from settings; localPath='C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\tf.exe'
2017-04-13T19:29:26.610Z - debug:  [11492] TFVC Repository created with repositoryRootFolder='c:\devtools'
2017-04-13T19:29:26.612Z - debug:  [11492] TFVC Repository.CheckVersion
2017-04-13T19:29:26.616Z - debug:  [11492] TFVC: tf add -noprompt -?
2017-04-13T19:29:26.628Z - debug:  [11492] TFVC: spawned new process (duration: 9ms)
2017-04-13T19:29:26.645Z - debug:  [11492] TFVC: spawned new process (duration: 15ms)
2017-04-13T19:29:27.184Z - debug:  [11492] TFVC: add exit code: 0 (duration: 566ms)
2017-04-13T19:29:27.192Z - debug:  [11492] TFVC Repository.FindWorkspace with localPath='c:\devtools'
2017-04-13T19:29:27.194Z - debug:  [11492] TFVC: tf workfold -noprompt ********
2017-04-13T19:29:27.203Z - debug:  [11492] TFVC: spawned new process (duration: 8ms)
2017-04-13T19:29:28.172Z - debug:  [11492] TFVC: workfold exit code: 100 (duration: 978ms)
2017-04-13T19:29:28.176Z - debug:  [11492] TFVC errors: TF30063: You are not authorized to access mycooltfsserver\MyTeamProjectCollection.

Running team signin after receiving this failure results in the following error:

(team) No Team Services or Team Foundation Server repository configuration was found. Ensure you've opened a folder that contains a repository.

Sorry for the bad report if this is intentionally not supported at this time, but it wasn't clear from the readme.

@jeffyoung
Copy link
Contributor

Hi @eogas. Yes, I'll take an item to make it more apparent in the README that the workspace needs to be local. We've got an item on the backlog to support Server workspaces at some point, but I don't have an ETA on that.

@ddavisringtown
Copy link

+1 supporting server workspaces (where can we upvote -- Connect?).

@eogas
Copy link
Author

eogas commented Apr 14, 2017

@jeffyoung cool, thanks for the info!

@jeffyoung
Copy link
Contributor

Hi @ddavisringtown. This is a good a place as any to upvote 👍 (I prefer keeping everything related to this project within the GitHub, at least as much as possible).

@sudhin
Copy link

sudhin commented Apr 20, 2017

+1 supporting server workspaces

@AlexisColes
Copy link

+1 for supporting server workspaces

1 similar comment
@Nehmiabm
Copy link

Nehmiabm commented May 5, 2017

+1 for supporting server workspaces

@codynova
Copy link

+1 for supporting server workspaces please

@cosmanovich
Copy link

+1

@markusmauch
Copy link

+1 for server workspace support

@ghost
Copy link

ghost commented Jul 10, 2017

^2

@alejandro5042
Copy link

+1

2 similar comments
@schwarzie2478
Copy link

+1

@szilvaa
Copy link

szilvaa commented Jul 18, 2017

+1

@eogas
Copy link
Author

eogas commented Jul 18, 2017

Please stop leaving +1's on this thread. Github added the thumbs up/down for a reason. Turns out that reason was that it's obnoxious to get an e-mail every few days with nothing but "+1" in it.

@voyager18
Copy link

+1

@mattdkerr
Copy link

Can you exclude Git-TFS folders, though? It detects the remote workspace, despite not being a proper TFS workspace that you'd want to use like that.

@ghost
Copy link

ghost commented Nov 21, 2017

+1

2 similar comments
@osterworks
Copy link

+1

@julius-spudvilas
Copy link

+1

@PleaseStopAsking
Copy link

+1

2 similar comments
@makafsal
Copy link

+1

@MidRoh
Copy link

MidRoh commented Mar 2, 2018

+1

@kschwarz1980
Copy link

+1

@CarlosSanches07
Copy link

+1

@svendebaets
Copy link

+1 for server workspaces

@nevzathayri
Copy link

+1

@jkim506
Copy link

jkim506 commented Jul 3, 2018

@jeffyoung Any updates on this?

@pierodamafalda
Copy link

+1 for server workspaces

@carloreggiani
Copy link

Still no way to connect to TFS 2017?

@chrisbchicken
Copy link

@jeffyoung Any updates on server workspace support?

@amintabar
Copy link

amintabar commented Dec 15, 2018

So how can I connect to my local TFS server?!

@WalterEbbers
Copy link

@jeffyoung Are there updates on when to expect server workspace support?

@kaylangan
Copy link
Contributor

We do not currently have any plans to support server workspaces.

@marcdill
Copy link

marcdill commented Apr 5, 2019

Since @kaylangan says there are no plans to support server workspaces, are there available work arounds that we can use without having to open our Visual Studio IDE's?

@cwuethrich
Copy link

@marcdill you can still use local workspaces. This extension works fine with local workspaces.
https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/decide-between-using-local-server-workspace?view=tfs-2018

@JarredMiles
Copy link

I'm not sure about anyone else, but at my workplace we have a very large solution with over 100k files, so local workspaces are not on option for us. It would be nice if this plugin did support them so that we don't have to rely on Visual studio for all our tfvc needs. Or at the very least someone at Microsoft can create a standalone tool for tfvc. I prefer to work with a lighter editor since Visual Studio can be very slow and bulky.

@cwuethrich
Copy link

@JarredMiles we do have more than 100k files as well. You don't have to sync the whole workspace.

@josersleal
Copy link

@marcdill you can still use local workspaces. This extension works fine with local workspaces.
https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/decide-between-using-local-server-workspace?view=tfs-2018

Sorry to bring bad, horrible news but it does not: #465

Basically the plugin is unusable for those with this issue

@bbouzan
Copy link

bbouzan commented Jul 5, 2019

Still no way to connect to server workspaces?

@qJake
Copy link

qJake commented Aug 4, 2019

2 years later and still no Server Workspace support? 😢

@MRGaraffa
Copy link

I recently started using VS Code. While setting up Azure Repos, I ran into an issue where the 'Teams (!)' notification stated that I was linking to a Server workspace, which was not supported.
After failing on several attempts to get this working, I finally found a solution:

  1. Open up a VS command prompt;
  2. Type 'tf workspaces /collection:';
  3. Enter your Microsoft account name and password linked to the Server workspace;
  4. Restart VS Code
  5. Click on the 'Team (!)'
  6. Enter your Private Account Token and hit enter
    My workspace is still set to Server and I am able to see changes, check out files (required separate extension), exclude, and undo.
    I hope this helps others resolve this problem!

@NickCook-StruMIS
Copy link

NickCook-StruMIS commented Nov 11, 2019

+1 for server workspaces.

Any further news on this being implemented. Thanks

@picolino
Copy link

Hello from 2020, any server workspaces will be released in this year, hm?

@qJake
Copy link

qJake commented Mar 12, 2020

We just ended up migrating from TFVC to Git (DevOps) which VS Code has full support for.

Not a "solution" by any means, but TFVC is slowly losing popularity to Git, and I don't see this enhancement ever being completed if it's been 3 years already.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests