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

前端 未结 30 1002
逝去的感伤
逝去的感伤 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:24

    Check the information in registry : HKEY_CURRENT_USER\SOFTWARE\Microsoft\VSCommon\Keychain\Accounts and delete the related keys under Accounts section.

    Clear the cache in these paths:

    • %localappdata%\Microsoft\TeamTest

    • %localappdata%\Microsoft\Team Foundation

    • %localappdata%\Microsoft\VisualStudio

    • %appdata%\Roaming\Microsoft\VisualStudio

    Hope this will work.

    Note: By doing this may clear all the cookies and caches and load the Visual Studio New.

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

    1. press Win button, then type credential manager and open it .
    2. Add generic credentials.
    3. Go back to team explorer, add the server again.
    0 讨论(0)
  • 2020-11-29 16:25

    I have just removed the server from Team Explorer, then added again, and it worked =).

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

    When I came accross this issue none of the provided answers solved this problem or if it did I didn't like recreating the project. The way I ended up solving the issue:

    enter image description here

    1. Clicking on the "Connect to Team Projects button" (The plug next to the home button in the Team Explorer tab)
    2. Right click the project you are getting this issue on.
    3. Click Connect.

    I guess the "Remember me" cookie timed out but gave me a generic response for trying to push or pull any code.

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

    I tried all of the suggestions here. None worked. This could be my particular situation where I connect some VS instances to our company TFS and some instances to my private TFS.

    The only way to solve it for me is to close all VS instances and start a new instance.

    Oddly enough, connecting to the internal TFS is never a problem. Connecting to *.visualstudio.com sometimes raises this issue.

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

    For me the error came after changing my password for my AD account.

    I had to remove the line from credential manager (which contained the previous password.)

    Then it worked again.

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