vs 2008链接到TFS 2010 出现问题

一、如何正确安装软件
要实现VS2008连接TFS2010,安装软件的顺序很重要。
以下是相关软件及正确的安装顺序:
1.VS2008
2.Team Explorer 2008
3.VS2008 SP1
4.Visual Studio Team System 2008 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010

二、连接字符串如何填写

TFS 2010有个新特性,可以指定一个虚拟目录(virtual directory),默认情况下是tfs。
如果你的TFS服务器的名字是tfs2,使用默认的虚拟目录:tfs。端口默认是8080。
TFS 2010下可以管理很多个collection,默认的名字是defaultcollection。
如果大部分都使用默认值的话,这个“连接字符串”可以写为:http://tfs2:8080/tfs/defaultcollection
注意:VS2005无法连接到TFS 2010,所以如果使用VS2005做为开发工具,且没有升级的要求,就不要升级到TFS 2010。

三、常见问题及解决方案

在从VS 2008 连接到TFS 2010 过程中,可能会产生一些错误,大部分是因为没有安装好补丁包导致的。

问题1:

问题描述:

当填好Server Name之后,点击确定。提示如下错误:TF30335: The server name cannot contain the characters '/' or ':' or start with 'http://' or 'https://。这是因为没有安装Microsoft Visual Studio 2008 Service Pack 1。

估计原因及解决方案:

可能是先装的SP1,然后再安装的Team Explorer,这种情况下需要重新安装SP1。

问题2:

问题描述:

同样的Server Name,提示不同的错误:TF31002: Unable to connect to this Team Foundation Server: http://tfs2:8080/tfs. 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.

估计原因及解决方案:

没有安装Visual Studio Team System 2008 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010,相信安装好后,能成功连接。

问题3:

问题描述:

Unable to switch servers at this time.  The Team Explorer is busy .

估计原因及解决方案:
TFS SERVER的连接字符串最后一位不要有斜杠 “/”

问题4:

问题描述:
TF30172: You are trying to create a team project either without required permissions or with an older version of Team Explorer. Contact your project administrator to check your permissions or to determine how to upgrade Team Explorer.

估计原因及解决方案:

使用VS2008 Team Explorer无法新建TFS2010的项目,如果需要新建项目需要升级到VS2010项目使用VS2010 Team Explorer

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值