我正在尝试让我的SQL 2008客户端工具与TFS 2010交谈。
地址http://tfs-server:8080/tfs在VS2010中运行良好,但SSMS(SQL Server Management Studio 2008)和BIDS(Business Intelligence Development Studio 2008)都给我这个错误:
TF31002: Unable to connect to this Team Foundation Server: <snip>
Possible reasons for failure include:
- The Team Foundation Server name, port number or protocol is incorrect.
- The Team Foundation Server is offline.
- Password is expired or incorrect.
答案 0 :(得分:17)
假设您已按照以下顺序正确安装了此方案的先决条件
注意:即使已经安装了Team Explorer 2008,也必须完成步骤2和那么第3步。
即
1.安装Team Explorer 2008组件(从TFS 2008媒体或MS下载)
2.安装Visual Studio 2008 Service Pack 1(MS下载)
3.为TFS 2010(MS下载)安装Team Explorer 2008前向兼容性补丁
您需要执行以下操作...
1.单击工具&gt;连接到Team Foundation Server ...
2.在“连接到团队项目”对话框中,单击“服务器”按钮
3.在“添加/删除Team Foundation Server”对话框中,单击“添加...”按钮
4.在“添加Team Foundation Server”对话框中,输入URL
的的http:// TFS-服务器:8080 / TFS / ProjectCollectionName 强>
好的,好的,好的
6.您现在应该能够连接到团队项目。
请注意,与VS 2010中的连接不同,输入URL的对话框似乎需要完全限定的http地址,而不是只输入servername。
答案 1 :(得分:5)
尝试http://tfs-server:8080/tfs/defaultcollection
。
答案 2 :(得分:0)
根据您使用的TFS版本,可能需要安装兼容包
TFS2010:http://www.microsoft.com/en-us/download/details.aspx?id=10834
TFS2012:http://www.microsoft.com/en-us/download/details.aspx?id=29983