Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

While adding a TFS server to VS2017 Error: "Server already exists in the list below"

While trying to add a TFS server to VS 2017, I encountered an issue where it claims that the server already exists in the list. However, it does not.

The only thing that I can think of that could cause it to think that the server is in the list, is that the two servers used to be one. This was not an issue with VS 2015.

The TFS servers are both 2015 update 3.

Please feel free to ask for any more info.

like image 570
Michael Coxon Avatar asked Mar 14 '17 16:03

Michael Coxon


People also ask

How do I add a server to TFS?

To learn how, go to Install Team Foundation Server. Launch the application-tier only wizard. Specify the name of the SQL Server where you just restored the databases and choose List Available Databases to populate the list. Choose the configuration database.

How do I add a TFS Server to Visual Studio 2017?

Visual Studio 2017 Choose the Connect to Team Project link to select a project to connect to. Connect to a Project shows the projects you can connect to, along with the repos in those projects. Select Add Server to connect to a project in Team Foundation Server. Enter the URL to your TFS server and select Add.


1 Answers

Give a try with directly using IP address instead of server name when you are adding Team Foundation Sever in VS2017. Something like:

http://192.168.0.1:8080/tfs

Update

You could find your Team Foundation Server 2015 GUID Info in below location:

 C:\Program Files\Microsoft Team Foundation Server 14.0\Application Tier\Web Services\web.config

There should be a value like

enter image description here

Then you could compare the GUID of two servers, change one of them and re-register db. More details about it take a look at this blog: How to find Team Foundation Server(TFS) GUID Info

like image 110
PatrickLu-MSFT Avatar answered Sep 17 '22 08:09

PatrickLu-MSFT