无法使用 TFS 电动工具 2008 创建新的团队项目

发布于 2024-08-07 07:11:16 字数 1932 浏览 5 评论 0原文

我正在通过在 .net 应用程序中作为后台进程执行 tfpt createteamproject 命令来创建新的团队项目。但是,我从日志中得到以下异常:

2009-10-06 17:02:10Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0.140274 seconds

2009-10-06 17:02:10Z |模块:内部|已检索 Team Foundation Server“http://vm-devt9:8080/tfs”的模板信息来自 Team Foundation Server。 |完成时间:0.015586秒 2009-10-06 17:02:10Z |模块:发动机|主题:1 |将使用“MSF for Agile Software Development v5.0”方法创建新项目 2009-10-06 17:02:10Z |模块:发动机|检索到 IAuthorizationService 代理 |完成时间:0.15586秒 ---开始异常条目--- 时间:2009-10-06 17:02:10Z 模块:发动机 事件描述:TF30226:用户没有项目创建权限 异常类型:System.Security.SecurityException 异常消息:TFXXXXXX:您无法使用此版本的 Visual Studio Team System Web 服务创建团队项目。请将您的客户端升级到与 Visual Studio Team System 2010 兼容的版本。 堆栈跟踪: 在 Microsoft.TeamFoundation.Proxy.AuthorizationService.CheckPermission(字符串 objectId,字符串 actionId) 在 Microsoft.VisualStudio.TeamFoundation.SecurityHelper.UserHasCreatePermissions(ELeadLogger 日志) --- 结束异常条目 ---

2009-10-06 17:02:10Z |模块:发动机|主题:1 | TF30172:您无权创建新的团队项目。 2009-10-06 17:02:10Z |模块:BatchTeamProjectCreator |主题:1 | Microsoft.VisualStudio.TeamFoundation.ProjectCreationException:TF30172:您无权创建新的团队项目。 在 Microsoft.VisualStudio.TeamFoundation.EngineStarter.CheckPermissions() 在 Microsoft.VisualStudio.TeamFoundation.EngineStarter.CreateProject() 在 Microsoft.VisualStudio.TeamFoundation.BatchTeamProjectCreator.CreateProject() 在 Microsoft.VisualStudio.TeamFoundation.BatchTeamProjectCreator.BatchCreateTeamProject() 在 Microsoft.VisualStudio.TeamFoundation.BatchTeamProjectCreator.BatchCreateTeamProject(String teamProjectCreationSettingFile, String& logFileFullPath)

2009-10-06 17:02:10Z |模块:BatchTeamProjectCreator |主题:1 |团队项目批量创建失败。

在指定流程模板时,我也遇到了双引号问题(我使用 MSF for Agile Software Development v5.0),

我拥有所有管理和团队项目创建权限设置,但有人能指出这里出了什么问题吗?

谢谢, 塔拉.

I am in the process of creating a new team project by executing the tfpt createteamproject command as a background process in my .net application. However, I get the following exception from the log :

2009-10-06 17:02:10Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0.140274 seconds

2009-10-06 17:02:10Z | Module: Internal | The template information for Team Foundation Server "http://vm-devt9:8080/tfs" was retrieved from the Team Foundation Server. | Completion time: 0.015586 seconds
2009-10-06 17:02:10Z | Module: Engine | Thread: 1 | New project will be created with the "MSF for Agile Software Development v5.0" methodology
2009-10-06 17:02:10Z | Module: Engine | Retrieved IAuthorizationService proxy | Completion time: 0.15586 seconds
---begin Exception entry---
Time: 2009-10-06 17:02:10Z
Module: Engine
Event Description: TF30226: User did not have project creation permissions
Exception Type: System.Security.SecurityException
Exception Message: TFXXXXXX: You cannot create team projects with this version of the Visual Studio Team System web service. Please upgrade your client to a version compatible with Visual Studio Team System 2010.
Stack Trace:
at Microsoft.TeamFoundation.Proxy.AuthorizationService.CheckPermission(String objectId, String actionId)
at Microsoft.VisualStudio.TeamFoundation.SecurityHelper.UserHasCreatePermissions(ELeadLogger log)
--- end Exception entry ---

2009-10-06 17:02:10Z | Module: Engine | Thread: 1 | TF30172: You do not have permission to create a new team project.
2009-10-06 17:02:10Z | Module: BatchTeamProjectCreator | Thread: 1 | Microsoft.VisualStudio.TeamFoundation.ProjectCreationException: TF30172: You do not have permission to create a new team project.
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.CheckPermissions()
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.CreateProject()
at Microsoft.VisualStudio.TeamFoundation.BatchTeamProjectCreator.CreateProject()
at Microsoft.VisualStudio.TeamFoundation.BatchTeamProjectCreator.BatchCreateTeamProject()
at Microsoft.VisualStudio.TeamFoundation.BatchTeamProjectCreator.BatchCreateTeamProject(String teamProjectCreationSettingFile, String& logFileFullPath)

2009-10-06 17:02:10Z | Module: BatchTeamProjectCreator | Thread: 1 | Team Project Batch Creation failed.

I also got problems with the double quotes when specifying the process template (I use the MSF for Agile Software Development v5.0)

I have all admin and team project creation permissions setup, but can anyone point out wats going wrong here?

Thanks,
Tara.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

徒留西风 2024-08-14 07:11:16

我谨建议您没有设置完整的权利!你能从用户界面上做到这一点吗?

编辑刚刚重读。

Visual Studio Team System Web 服务的版本。请将您的客户端升级到与 Visual Studio Team System 2010 兼容的版本

这是否意味着您使用的是 2010 命令提示符?

编辑:

既然您使用的是 TFPT,您可以使用 powershell 脚本吗?我怀疑他们也会以同样的方式失败。没有询问 MS 何时将 TFPT 移植到 2010 年,我恐怕有点不知所措 - 抱歉。

I would respectfully suggest that you don't have full rights set up! Can you do it from the UI?

Edit just reread.

version of the Visual Studio Team System web service. Please upgrade your client to a version compatible with Visual Studio Team System 2010

Does this mean that you're using a 2010 command prompt?

Edit:

Since you're using the TFPT -can you use the powershell scripts? I suspect they'll fail the same way. Short of asking MS as to when the TFPT will be ported to 2010 I'm afraid I'm at a bit of a loss - sorry.

痕至 2024-08-14 07:11:16

我意识到这里有一个解决方法。 VSTS 2010 有一个内置命令可以自动创建项目,所以我要尝试一下。等不及 Power Tools 与 VS 2010 一起发布了..:D

I realised there's a workaround here. VSTS 2010 has a built in command to automate project creation so am gonna try this out. Cannot wait for Power tools till it's shipped with VS 2010..:D

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文