Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 4 and Visual Studio 2010 > BOOK: Professional Team Foundation Server 2010
|
BOOK: Professional Team Foundation Server 2010
This is the forum to discuss the Wrox book Professional Team Foundation Server 2010 by Ed Blankenship, Martin Woodward, Grant Holliday, Brian Keller; ISBN: 978-0-470-94332-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Team Foundation Server 2010 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 20th, 2012, 04:16 AM
Registered User
 
Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default TF31002: Unable to connect to this Team Foundation Server

Description :
Connecting TFS 2005 via .Net console application for pulling the project and users information. This console will be used by the different users as standalone app for pulling out the information from thier machine.

Problem :
When the user executing the console with the proper input details as mentioned below
Eg : <tfs server : port> <username> <pwd> <domain>
getting the below error message
TF31002: Unable to connect to this Team Foundation Server
Note :
1.The user as got ADMIN rights and can connect to the TFS for different process (check in , check out etc...)
2. This console application is working fine for TFS installed in single tier architec server (TFS app server ,Database server in same server), problem occurs for the TFS installed in two tier architec sever (TFS app server ,Database server in different server )

Error Occurs in below line of code :
System.Net.NetworkCredential credential = new System.Net.NetworkCredential(UserName, Password, Domain);
TeamFoundationServer server = new TeamFoundationServer(serverUri, credential);
server.Authenticate();
 
Old February 27th, 2012, 03:52 AM
Registered User
 
Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default TF31002: Unable to connect to this Team Foundation Server

Solution :
The problem seems to be the TFS URL, in TFS 2005 we should give the tfs link without the value '/tfs' at the end of URL as mentioned below

Old URL which gave us the issue :

http://tfs-xxxxxxxxx-xxx.com:8080/ tfs

New URL which worked :
http://tfs-xxxxxxxxx-xxx.com:8080/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Team Foundation server. vbboyd BOOK: Beginning ASP.NET 4 : in C# and VB 1 January 21st, 2012 04:15 PM
Work items tracking from Team Foundation Server? woojtii General .NET 0 April 4th, 2007 07:06 AM
Reports packages for Team Foundation Server? woojtii General .NET 0 March 27th, 2007 05:15 AM
Team Foundation Server / Team System aytacakin Visual Studio 2005 2 March 27th, 2006 01:36 AM
team foundation server aytacakin .NET Framework 2.0 1 January 29th, 2006 01:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.