tfs - 分离/重新附加-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),问题是否会得到解决?
你能告诉我吗?
解决方案
首先确保您完全按照移动团队项目集合中的说明进行操作。
根据您提到的线程和您的描述,问题应该是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'
推荐阅读
- swift - 如何在 watchOS 中运行后台进程?
- vba - VBA宏用形状颜色中的颜色填充选择范围
- c# - 带有 Ninject 的 Dapper 一次性实例
- react-native - React-Native blob 不存在
- reactjs - React-Router:始终显示标题但不在登录页面中
- python - 在 Python 中替换列表中的特殊字符
- debugging - 调试 Java 项目使我的变量空白
- python - 防止在 django 中提交按钮后重新加载
- java - “Sudo su - weblogic”通过 Java 程序?
- php - 在archive.php中显示分类