simple1111122 2014-04-23 05:03
浏览 1561

TFS TfsTeamProjectCollection 获取不到WorkItemStore

Uri tfsUri = new Uri("http://fors37na:8080/tfs");
TfsTeamProjectCollection server = new TfsTeamProjectCollection(tfsUri);
WorkItemStore workstore = server.GetService();
foreach (Project project in workstore.Projects)
{
Console.WriteLine("DefaultCollection集合下项目名称是:" + project.Name);
}
Console.WriteLine("---------------------------------------------------------------");

代码如上,在WorkItemStore workstore = server.GetService();
这一句出错,server中有信息,报错信息如下:

TF31002: Unable to connect to this Team Foundation Server: http://fors37na:8080/tfs.
Team Foundation Server Url: http://fors37na:8080/tfs.

Possible reasons for failure include:

  • The name, port number, or protocol for the Team Foundation Server is incorrect.
  • The Team Foundation Server is offline.
  • The password has expired or is incorrect.

Technical information (for administrator):
The request failed with HTTP status 404: Not Found.

望大神解答

  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
    • ¥20 腾讯企业邮箱邮件可以恢复么
    • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
    • ¥15 错误 LNK2001 无法解析的外部符号
    • ¥50 安装pyaudiokits失败
    • ¥15 计组这些题应该咋做呀
    • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
    • ¥15 让node服务器有自动加载文件的功能
    • ¥15 jmeter脚本回放有的是对的有的是错的
    • ¥15 r语言蛋白组学相关问题