in

Platinum Bay

Peace, Love, and...

This Blog

Syndication


.NETicated

Team Foundation – Diagnosing Common Connection Problems

There are quite a number of questions on the forums related to connection issues with Team Foundation. Not that Team Foundation inherently has connection problems, I've never had any, but that it may not have been installed or configured it correctly or the environment could have changed. In this post I'll take a look at some of the common connection issues and make suggestions for the diagnosis and correction of these issues.

This list is by no means conclusive, so please send me your suggestions and comments.

Connectivity issues can cause the following errors:

  • TF31002: Unable to connect to this Team Foundation Server
  • TF31002: Unable to connect to TFS 2008
  • TF30207: Error when creating a project

Ports

If you have a firewall or system protection software running on your local machine or on the network between you and TFS, that software may block ports needed by Team Foundation or Team Explorer. The default ports are as follows:

Team Foundation Server

8080

Team System Web Access

8090

Team Foundation Server Proxy

8081

SQL Server Reporting Services

80

SharePoint

80

SharePoint Central Administration

17012

 

Changing these default ports may lead to connectivity loss with team Foundation, so changes should be made cautiously.

Note also that SharePoint, which contains the team project portals, runs on port 80 by default. If you try and set Team System Web Access to run on port 80 without using a host header, SharePoint will no longer be accessible, and you may receive the 'red X' in the document libraries folders Team Explorer.

Team Explorer

Make sure you have the latest version of the Team Explorer client installed. For instance, if you still have a beta version installed, you should install the RC version.

Web Services

Navigate to the Team Foundation server status web service from the server itself to ensure it is functioning properly:

http:// <servername>:8080/services/v1.0/serverstatus.asmx

If you can access the web service from the server, try accessing the same web service from the client machine.

Network

Try pinging the server using the full DNS name from the client. If this fails, you may need to update the DNS settings on the server, or flush your local DNS resolver cache:

ipconfig /flushdns

Machine.Config

If you are seeing the following error message, make sure the machine.config file is not corrupted:

Unhandled Exception: System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize

If it is, you may want to try copying the System.ServiceModel node from another machine.

Closing

If your problem wasn't solved here, or was solved by another method, please send suggestions, updates and questions for future updates to this post.

Published Mar 14 2008, 06:13 PM by Steve
Filed under: ,

Comments

March 19, 2008 4:11 AM

Link Listing - March 18, 2008

 

March 19, 2008 4:12 AM

AJAX ASP.NET AJAX callbacks to Web Methods in ASPX pages [Via: Frank Wang ] ASP.NET DotNetOpenId 0.1.2...

 

December 11, 2008 12:26 PM

Using Team Foundation Server 2008 related dlls.

I am getting error as "Unable to connect remote server" with following code. any help is much appericated.

I tried with http, https, and used my system name instead of localhost.

NetworkCredential credential = new NetworkCredential("loginID", "password", "Domain");                

               TeamFoundationServer tfs = new TeamFoundationServer("http://localhost:8080", credential);

               tfs.Authenticate();

Hari
 

March 25, 2009 8:33 PM

machine.config save my day!

Thanks a lot!

steve li
 

Leave a Comment

(required )  
(optional )
(required )  
Add

About Steve

Steve Andrews is an independent consultant, INETA speaker, and Microsoft MVP for Visual Studio ALM. He has been working in technology for over ten years focusing on custom application development and Application Lifecycle Management. Steve is also Microsoft and IBM certified and a community fanatic having led sessions at nearly 100 events across North America. When he's not developing software solutions or engaging with the community about software technology, Steve is a closet singer and songwriter and plays the guitar and keys. Occasionally, Steve even gets to sleep. Occasionally.
Powered by Community Server (Commercial Edition), by Telligent Systems
© Platinum Bay | Some Rights Reserved Creative Commons License

Disclaimer: The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or annonymous comments) - so keep it polite, please.