首页 > 解决方案 > 分离/重新附加-TFS 2015 后无法访问集合管理页面

问题描述

我有 2 个 TFS 实例,它们是 A 和 B A 由 3 个集合组成,B 由 1 个集合组成。

我最近从 B ===> A 实例中移动了 1 个集合。

之后,我在访问管理页面时收到以下错误。

VS402375: Can't find the process associated with team project '76916fec-d89d-43cd-a2f6-89cf83d8100f'. Contact support to resolve this error.

当我检查 3 个集合的项目 ID 和值时,它们看起来相同,但第四个集合(从 B==>A 移动)是不同的。

如果我继续更新 project_id 的值(流程模板 ID),问题是否会得到解决?

你能告诉我吗?

PFA https://social.msdn.microsoft.com/Forums/silverlight/en-US/a31160d4-0bca-4d94-8444-6cd0f4f01da4/cant-access-collection-admin-page-after-detach-reattach?forum=tfsgeneral

标签: tfsazure-devopstfs-2015tfs-process-template

解决方案


首先确保您完全按照移动团队项目集合中的说明进行操作。

根据您提到的线程和您的描述,问题应该是tfs_configuration新安装中的默认流程模板的 ID 与新集合中的项目不匹配。

因此,您可以先尝试备份数据库。

然后尝试更新已CurrentProcessTemplateId移动团队项目的对应项以匹配从 检索到的 ID tfs_configuration,这意味着更新表:[Tfs_DefaultCollection].[dbo].[tbl_project_properties]。随着更新,tfs_configuration可能会导致其他三个集合出现问题。

例如:

update [Tfs_DefaultCollection].[dbo].[tbl_project_properties]  set value = 'the template ID retrieved from A' where Name = 'CurrentProcessTemplateId' and project_id = 'your team project id'

如果这仍然不起作用,请尝试同时更新OriginalProcessTemplateId

update [Tfs_DefaultCollection].[dbo].[tbl_project_properties]  set value = 'the template ID retrieved from A' where Name = 'OriginalProcessTemplateId' and project_id = 'your team project id'

推荐阅读