创建新团队项目时,objectdbo.Constants中的重复键行 [英] duplicate key row in objectdbo.Constants when creating a new team project
问题描述
您好,
每当我尝试创建一个新的团队项目时,VS都会失败
Whenever i try to create a new team project , VS fails with
用户操作
联系您的Team Foundation Server管理员。
User Action
Contact your Team Foundation Server administrator.
我们最近将安装移至新服务器,我们遇到了一些问题,因此我们不得不删除并重新创建一些用户。我仍然可以看到我的旧项目,提交更改和所有内容,但似乎我根本无法创建新项目。通过谷歌搜索,
看起来这个问题与重新创建的用户有关。我尝试从dbo.constants表中删除元组并重建索引,但没有运气,我仍然看到相同的错误。
We recently moved the installation to a new server, and we had some issues so that we had to delete and recreate some users. I still can see my old projects, commit changes and everything, but it seems i can't create a new project at all. By googling a bit, it looks like this issue is tied to recreated users. I tried removing the tuple from the dbo.constants table and rebuilding the index, but no luck, i still see the same error.
我真的很感激一些正确方向的指针,
I'd really appreciate some pointers in the right direction,
欢呼!
推荐答案
嗨AA,  
感谢您的帖子。
您的TFS和VS的版本是什么?您是否更改了新服务器中的TFS域?
What’s the version of your TFS and VS? Have you changed the TFS domain in the new server?
如果您在新服务器中更改了TFS域并且此问题与您的TFS数据库有关,我认为您应该联系MS专业人员支持以获取官方更新数据库脚本来解决此问题。
If you changed TFS domain in new server and this issue relate to your TFS database, I think you should contact MS professional support to get official update database script to resolve this issue.
注意:我们不建议直接编辑TFS数据库,这可能会导致未知问题。
Note: we don’t recommend edit TFS database directly, that maybe caused the unknown issues.
这篇关于创建新团队项目时,objectdbo.Constants中的重复键行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!