2

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.

4
  • Is the network connected? Basic stuff like ping <tfsserver> and telnet <tfsserver> 8080 can tell if you can reach the machine. Commented Dec 2, 2015 at 8:33
  • yes i can ping <tfsserver> Commented Dec 2, 2015 at 8:41
  • Can you load the web portal in a browser? Commented Dec 3, 2015 at 1:32
  • yes I can load it in browser. Commented Dec 3, 2015 at 6:35

3 Answers 3

3

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.

Sign up to request clarification or add additional context in comments.

1 Comment

your MSDN article link is missed or there must be some issue in link address.
2

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 

Comments

1

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.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.