tags:

views:

83

answers:

1

This is an absolute beginner question in TFS SDK:

I am trying to connect to TFS server using the code

TeamFoundationServer teamFoundationServer =
               TeamFoundationServerFactory.GetServer(X);

X is server name

I am getting an error like

TF249051: No URL can be found that corresponds to the following server name: X
Verify that the server name is correct. 

However I am able to connect to the TFS server from VS2010 using Team->Connect to TFserver menu option

A: 

The TeamFoundation Server Factory is deprecated. You should use TeamFoundationProjectCollection.

And, yes, under TFS 2010, you'll need the folder.

Robaticus
the same problem repeats :(I have given the folder name in the server as well and am able to browse TFS using VS2010the VSTS deployment is moved to NLB nowIs this a cause for the recurrence?
balalakshmi