Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 4 and Visual Studio 2010 > BOOK: Professional Team Foundation Server 2010
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 20th, 2012, 03:16 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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();
  #2 (permalink)  
Old February 27th, 2012, 02:52 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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/
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 03: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 12:36 AM
team foundation server aytacakin .NET Framework 2.0 1 January 29th, 2006 12:54 AM



All times are GMT -4. The time now is 07:00 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.