Error TF30063: You are not authorized to access … \DefaultCollection

前端 未结 30 1003
逝去的感伤
逝去的感伤 2020-11-29 15:41

I\'m using TFS Preview (Team Foundation Service) with one of my projects with Visual Studio 2012. I\'m also using an on-premises TFS server with most of my projects. When I

相关标签:
30条回答
  • 2020-11-29 16:11

    In my case I had a proxy. I had edited the devenv.exe.config and set the proxy there. But today I changed the proxy domain password and TFS failed (menu ViewWindowsBrowser also failed). I could of course have edited the devenv.exe again. But there was a solution to remove it altogether. A brilliant one. It is given here.

    Open menu TOOLS* → Extensions & Updates.
    Click on Updates... in the left-hand menu

    Here it asks for password and restarting Visual Studio. All okay. For more info, look for the answer in the link.

    0 讨论(0)
  • 2020-11-29 16:12

    I got this error, after all fiddling work I could do — the disk space was full!

    Clearing it fixed my issue.

    0 讨论(0)
  • 2020-11-29 16:13

    I've experienced this issue after an TFS upgrade, and somehow Visual Studio is caching invalid login credentials. I've found two ways to fix it, first, using this answer I completely reset Visual Studio, then reconnected:

    Click on menu ToolsImport and Export SettingsReset all settingsNext"No, just reset settings, overwriting all current settings"NextFinish.

    For some strange reason, after the reset it connected without issue (I didn't even have to re-enter my credentials or reconfigure TFS after the reset).

    The second approach was easier. First close all instances of Internet Explorer and Visual Studio, then open Internet Explorer and browse to TFS, login, then open Visual Studio again and attempt to connect to TFS one more time.

    0 讨论(0)
  • 2020-11-29 16:14

    I have upgraded TFS 2015 to TFS 2017, and then the TF30063 error occured on one of my client machines. None of the solutions here worked...

    For me the only solution that worked was running the following command from the Developer Command Prompt:

    tf workspaces /collection:https://tfs.xxxxx.com/tfs/DefaultCollection
    

    Of course, you need to adjust the url to the valid one.

    Source: https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/backup/refresh-data-caches

    0 讨论(0)
  • 2020-11-29 16:14

    In team explorer I removed project... then in Manage Connections, clicked on 'Connect to a Project...'

    In this screen choose your project then click on Connect... this solved my problem.

    0 讨论(0)
  • 2020-11-29 16:14

    This happens to me regularly, and none of the solutions described above works every time. Most of the times the solution where you use the "Connect to Team Projects button" works fine, but sometimes nothing happens when I do this.

    Other times I simply have to re-login to http://tfs.visualstudio.com using the Visual Studio built-in browser (Ctrl+Alt+R) or via Internet Explorer.

    (As suggested in some of the other answers, for my part this is not caused by multiple live-ids)

    0 讨论(0)
提交回复
热议问题