Premier Field Engineer, Microsoft Services Customer Service and Support
In my current and previous lives, one of the problems I get involved in is when people can’t connect to Team Foundation Server for some reason.
Usually the following occurs:
The very first thing I do is confirm that it works for a known-good configuration – usually my workstation.
Providing that works and the server appears to be functioning, the next thing I do is ask the user to call the CheckAuthentication web service using Internet Explorer.
The URL for this is: http://TFSSERVER:8080/services/v1.0/ServerStatus.asmx?op=CheckAuthentication
By doing this check, I am doing four things:
In most cases I’ve seen, the TFS connection issues are because the proxy settings have changed or are incorrect. Because .NET and Visual Studio use the proxy settings from Internet Explorer, it’s important to have them set correctly.
In rare cases it’s beyond this. That’s when I start looking at things like:
After that I get stuck :) Enjoy your troubleshooting!
Update - I forgot these ones:
The one that bites me the most is my domain password expiring. There is nothing that explicitly tells you that you password has expired. You just start getting access denied on everything.
Check the Windows Event Log . Run TFS Best Practices Analyzer . (part of the Power Tools , requires PowerShell
In my case the automatic configuration script worked in IE, but prevented VS from connecting to TFS. I had to add the BypassProxyOnLocal registrykey to get it to work (http://msdn.microsoft.com/en-us/library/bb909716.aspx)
Add one more possible cause. The IE Tools>Options>Connections>AdvancedSettings for proxy is to be enabled to be able to hit the TFSServer site correctly. VS picks up the settings from the registry this sends to.
We started seeing this error on some of our machines about 1 week after the TFS 2008 install. At this point, my computer can connect fine to TFS from VS (the TFS install was done using my local account on the server - we don't use a domain/active directory). One of my colleagues is able to access the http://TFSSERVER:8080/services/v1.0/ServerStatus.asmx?op=CheckAuthentication link in IE while another can access this link via Firefox but not in IE. Neither of them can connect to TFS from VS 2008. We tried checking/unchecking proxy in IE's LAN Setup but no luck yet.. I just installed TFS Server SP1 but the problem still remains.. any ideas?
VS2010b2 on Vista versus Codeplex gave me a TF31002 saying "(404) Not found.". The solution originally provided in http://blogs.msdn.com/ablock/archive/2009/05/20/for-tfs-2010-beta-1-resolving-tf31001-the-servicepointmanager-does-not-support-proxies-with-the-https-scheme.aspx worked for the TF31002 error in my case. (Just my 2 cents..)
cool, I can't telnet to port 8080. how do I fix that?
@Ben - Check the incoming firewall on the server and the outgoing firewall on your own machine.
Try and connect from somebody elses machine.
My connection with TFS was working last week but today I can´t connect my Server.
I tried execute TfsSecurity.exe and receive this error: "The signature is incorrect."
What means this message ?
How to fix ?
the url is wrong. it should be http://server:8080/tfs/services/v1.0/ServerStatus.asmx?op=CheckAuthentication (missing a tfs)
CheckAuthentication authentication service is running.
I had the following error (ConfigurationSectionError on line 137) in Maching.Config. I removed the system.servicemodel-node and reinstalled WCF. This worked (also I didn't have a newsfeed in VS2008). Now I have and TFS works!
Great...I faced this problem. I am using my laptop in my office and I connect from my home thru VPN. VPN has apparantly changed the proxy settings and I was not able to connect to my TFS server from this morning. I changed the settings and it worked...
@Grant: I have installed VS 2008 and Team Explorer 2008 in my machine(my machine is local and is not connected to LAN or any Network). I get the TF31005 Error. So I tried the steps you have mentioned above. But my IE does not display any page on entering the URL: http://TFSSERVER:8080/services/v1.0/ServerStatus.asmx?op=CheckAuthentication. So whats wrong with the TFS? Where is the Problem?