Dealing with the Team Foundation Server 2010 TF30063 error

Joseph JunI’ve been fielding a lot of support requests where users are reporting the “TF30063: You are not authorized to access <server>” error. With the patience of the affected customers and a lot of investigation, the following conditions may cause the problem:

  • A proxy server/firewall/IPS
  • Sleeping or hibernating a system
  • NuGet
  • A combination of the above

Proxy Server/Firewall/Intrusion Prevention System

If you’re connecting through a proxy server, a firewall or there’s an intrusion prevention system of some type involved, the error will occur at random while you’re actively connected.

If a firewall or intrusion prevention system is involved, you may need to contact your network administrator and whitelist the host name and/or IP address of your server. You can find the server name in the Account Information page in the DiscountASP.NET TFS Control Panel and if you need the IP address, please open a request with the Technical Support department using the Support Portal.

In the event that you’re connecting through a proxy server, you may want to review the connection settings on your workstation by:

  1. Disconnect from your TFS server.
  2. Open Internet Options through the Windows Control Panel or through Internet Explorer (Tools > Internet Options).
  3. Click on the “Connections” tab and then the “LAN settings” button.
  4. Try un-checking the “Use a proxy server for your LAN” option.
  5. Reconnect to the server to see if the problem persists.

Sleep/Hibernate

In some cases, if your workstation is put to sleep or into hibernation with Visual Studio running, after Windows comes out sleep/hibernation, trying to perform a source control action causes the error.

The problem is usually resolved by restarting Visual Studio and reconnecting to the server or just restarting the system completely.

NuGet

One of the unexpected reasons why the error seems to be occurring is because the installation, update, or un-installation of a NuGet Package causes the authentication-related error. If you’re using NuGet, I would highly recommend checking out: “Fixing combination of NuGet and Team Foundation in workgroup configuration: 401 Unauthorized” that was published by Miha Markic for detailed information and a resolution.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.