Naila Akbar
Naila Akbar

Reputation: 3358

TF31002: Unable to connect to this Team Foundation Server VS2010- VS2013

I know this question has been asked many times over here.

But nothing worked for me and I'm still unable to resolve my issue.

Problem is

enter image description here

It was working yesterday but then I restarted my laptop and I haven’t changed anything but the issue is here. I'm facing this issue on both VS2010 and VS2013.

I've tried many solutions like

1) Installing SP1 and compatibility Patch as Suggested here in this answer

2) Clearing local cache of Team Foundation Server

3) Removing all credentials from Control Panel and then re-adding them

4) Uninstalling any proxy server that I'd installed

I can even connect to Team Foundation Server through Team System Web Access with same URL (http://tfsserver:8080/) but its not working for any Visual Studio.

Is there any other solution that I'm missing?? Any kind of help will be appreciated.

Upvotes: 2

Views: 4742

Answers (3)

Waqas Ali
Waqas Ali

Reputation: 1519

Replace server address with server IP works for me. e.g

http://tfsaddress:8080/tfs/collection

replaced with

http://(your server ip):8080/tfs/collection

Upvotes: 2

Naila Akbar
Naila Akbar

Reputation: 3358

I don't know whether it actually is the solution or not But the only change that I've made yesterday was to Clear my browser's history and the problem just went away.

After clearing browser's history, when I built my solution, TFS login window prompted, I gave my userName/ Password and here it is connected to Team Foundation Server.

I'm posting it over here just because if someone else is facing the same issue, make sure that you are clearing your browsers' history and deleting all the cache. It may also resolve your issue like mine.

Upvotes: 1

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51073

Because you can connect to TFS through web portal, so there is nothing wrong with TFS server. To narrow down your issue, you can try below methods:

  • Disable your firewall.
  • Run VS2010 and VS2013 in admin mode.
  • Disable antivirus or add TFS in whitelist.
  • Connect to TFS with another user account or another machine.
  • Use Ip address like http://x.x.x.x (your server Ip):8080/tfs instead of server address

If you still can't solve it, you can try some steps described in this MSDN article https://msdn.microsoft.com/en-us/library/ms244143.aspx Also go through VS logs looking for the connection attempt and rejection reason.

Upvotes: 3

Related Questions