连接远程计算机时 TFS 构建定义冻结

发布于 2024-11-18 10:07:07 字数 425 浏览 1 评论 0原文

通过 Visual Studio 2010 连接到远程 TFS 2010 安装时,“生成定义”的“进程”选项卡冻结。一切似乎都被禁用了。有什么解决方法吗?

更新1:

通过冻结我的意思是:

我可以导航到所有选项卡:常规、触发器、工作区、构建默认值、进程和保留策略。除了“进程”选项卡外,它们都按预期工作。当我单击“进程”选项卡时,会显示它,但没有显示任何参数,并且选项卡本身呈灰色。实际上什么都不能点击。这就像 Visual Studio 正在等待某些内容完成或加载。

更新 2:

我发现,当我长时间不使用 Visual Studio 大约 20 或 30 分钟时,“进程”选项卡会恢复正常。这意味着所有参数都会出现并且可以编辑。这似乎从服务器下载或获取某些内容会导致非常非常长的延迟。

When connecting to a remote TFS 2010 installation via my Visual Studio 2010, Process tab of Build Definition freezes. Everything seems to be disabled. Is there any work-around?

UPDATE 1:

By freezing I mean:

I can navigate to all tabs: General, Trigger, Workspace, Build Defaults, Process and Retention Policy. Except for Process tab, they all are working as excpected. When I click Process tab, it is showed, but none of parameters are shown, and the tab itself is in gray. Actually nothing could be clicked. It is like that Visual Studio is waiting for something to be completed or loaded.

UPDATE 2:

I have explored that when I leave Visual Studio alone for a long time about 20 or 30 minutes, the Process tab goes normal. That means all parameters appears and can be edited. That seems downloading or getting something from server causes this very very long delay.

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

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

发布评论

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

评论(2

昔梦 2024-11-25 10:07:07

您可能想准确检查您在该服务器上拥有哪些与管理构建相关的权限。

http://intovsts.net/2009/09/ 03/more-fine-grained-permissions-in-tfs2010/
http://msdn.microsoft.com/en-us/library/ms252587.aspx

我认为主要之一是“编辑构建定义”

如果您没有权限,那么就不会有解决方法。

更新:
此时我真正能想到的唯一事情就是在 TFS 数据库上放置一个 sql 监视器,并可能观察网络流量以了解网络接口的使用情况。

数据库服务器可能出现问题,导致大量负载。另一种可能性是网络配置错误并且以 1Mb(而不是 100Mb+)运行。

除此之外,我建议致电 MS 支持并开具故障单。这绝不是正常现象,可能表明存在某些底层硬件或安装问题。

You might want to check out exactly what rights you have on that server with regards to administrating builds.

http://intovsts.net/2009/09/03/more-fine-grained-permissions-in-tfs2010/ and
http://msdn.microsoft.com/en-us/library/ms252587.aspx

I think one of the main ones is "edit build definition"

If you don't have rights, then there won't be a workaround.

UPDATE:
The only things I can really think of at this point is to put a sql monitor on the TFS Database and possibly, watch the network traffic to see how the network interface is being used.

It's possible that something is wrong on the database server causing a huge amount of load. The other possibility is that the network is badly configured and running at 1Mb instead of 100Mb+.

Beyond those, I'd say call MS Support and open a trouble ticket. This is by no means normal and is likely indicative of some underlying hardware or installation issue.

洛阳烟雨空心柳 2024-11-25 10:07:07

阿夫沙姆,

我也遇到过。当我在一个 VS 实例上以编辑模式打开构建定义并在另一台电脑上打开它进行编辑时,就会发生这种情况。一段时间后,它错误地显示“TFS 20391:锁定等等……”我不得不关闭两台机器上的 Visual Studio 实例并重新启动,之后它就可以工作了。这些都是非常偶然的案例,很难复制。我建议重新启动您的视觉工作室会话并重试。

PS - 值得检查一下是否其他人也打开了流程模板进行编辑?

HTH。

干杯,塔伦

Afsharm,

Happend with me too. This happened when i had the build defination open on one VS instance in edit mode and i opened it for editing on another pc. After a while it errored saying "TFS 20391: Locked for blah blah..." I had to close my visual studio instance on both the machines and restart, it worked there after. These are very occassional cases and very hard to replicate. I would suggest restarting your visual studio session and trying again.

PS - Worth checking if some one else have the process template open for edit as well?

HTH.

Cheers, Tarun

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