A freshly installed TFS 2010 is at http://serverX:8080/tfs
.
A Windows 7 developer machine with VS 2008 Pro SP1 and the VS2008 Team Explorer (no SP). The TFS 2008 Service Pack 1 didn't work for me - "None of the products that are addressed by this software update are installed on this computer."
The developer machine is able to browse the TFS site at the above URL.
The Issue is around trying to add the TFS server into the Team Explorer window in Visual Studio 2008. Here's a screenshot showing the error:
unable to connect to this Team Foundation Server. 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 TFS server is up and running properly. Firewall ports are open, and is accessible via the browser on the dev machine!!
larger image
Question: how can you connect from VS 2008 Pro to a TFS 2010 server?
Resolution
Here's how I solved this problem:
Installations
Config
http://[tfsserver]:[port]/[vdir]/[projectCollection]
http://serverX:8080/tfs/AppDev-TestProject
You do this by clicking View -> Team Explorer and click 'Connect to Project'. The next step is to add an Azure DevOps server, which is your TFS server URL. Once you see the below dialog, you need to click 'Add Azure DevOps Server'. Add in your TFS URL and click Add.
Follow below steps to add the TFS server: Manage Connections -> Connect to a project option in the Team Explorer (use View -> Team Explorer if not available) and connect to the project. Click Add Azure DevOps Server, input tfs server URL and choose Add.
Team Explorer connects Visual Studio 2019 and earlier to Team Foundation version control (TFVC) repositories, and to projects hosted on Azure DevOps Services or an on-premises Azure DevOps Server (formerly known as TFS). You can manage source code, work items, and builds.
Check out this article 'Connecting VS2008 to any TFS2010 Project Collection'.
The only catch here is that the author didn't mention that you need to install/reinstall Service Pack 1 'Microsoft Visual Studio 2008 Service Pack 1 (Installer)' for Visual Studio 2008 after installing Team Explorer 2008. This will take care of the invalid characters error message when trying to connect.
I'm surprised no one here has mentioned the Visual Studio 2008 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010. I followed the directions above, but still was unable to connect; Installing the Forward Compatibility Patch finally let me connect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With