If try to connect to TFS 2010 instance from Visual Studio 2008 you will probably experience the following error message:

Possible reasons for failure include:

  • The Team Foundation Server name, port number or protocol is incorrect.
  • The Team Foundation Server is offline.
  • Password is expired or incorrect.

The trick is that due to changes in TFS 2010 architecture, you now have to enter a full URL to connect to the server. This URL have to include a TFS virtual directory in it. So at the end the URL will something like this:

http://tfs2010:8080/tfs

This will connect you to the default collection of the TFS 2010 server.