问题描述
我正在使用Visual Studio 2015在TFS 2015版本2上创建新的团队项目。我在尝试创建新的团队项目时遇到了错误。我们之前能够创建新的团队项目,自从上一个团队
项目创建以来,我们没有进行任何升级或域更改。我想知道失败的原因是什么?我在网上搜索并看到了一些类似的错误,但没有看到这些错误的完整解决方案。
详细的错误信息是:
错误 TF30170:插件Microsoft.ProjectCreationWizard.WorkItemTracking在来自组WorkItemTracking的任务LinkTypes期间失败。 |
解释 插件错误文本:"无法在对象'dbo.Constants'中插入具有唯一索引'IX_Constants__String_RemovedDate'的重复键行。重复键值为(1,a81417a5-ae4c-4a9c-9861-17108ff8ff5c \ Team Foundation Service Accounts,1月1日9999 12:00 AM)。" |
用户操作 联系您的Team Foundation Server管理员。 |
我检查了日志文件,并看到了以下异常:
2017-06-13T12:17:14 |模块:工作项跟踪|线程:58 |同步用户和组。
2017-06-13T12:17:29 |模块:工作项跟踪|线程:58 |由于SoapException,同步失败:无法在对象'dbo.Constants'中插入具有唯一索引'IX_Constants__String_RemovedDate'的重复键行。重复键值为(1,a81417a5-ae4c-4a9c-9861-17108ff8ff5c \ Team
基金会服务帐户,Jan 1 9999 12:00 AM)。
2017-06- 13T12:17:29 |模块:工作项跟踪|线程:58 |开始重试1.
.................
2017-06-13T12:17:42 |模块:工作项跟踪|线程:58 |开始重试2.
...................
2017-06-13T12 :17:54 |模块:工作项跟踪|线程:58 |开始重试3.
......................
2017-06-13T12:17:54 |模块:工作项跟踪|线程:58 |同步用户和组。
---开始例外输入---
时间:2017-06-13T12:18:07
模块:引擎
事件描述:TF30162:任务"LinkTypes"来自Group"WorkItemTracking"失败
异常类型:Microsoft.TeamFoundation.Client.PcwException
异常消息:无法在对象'dbo.Constants'中插入具有唯一索引'IX_Constants__String_RemovedDate'的重复键行。重复键值为(1,a81417a5-ae4c-4a9c-9861-17108ff8ff5c \ Team Foundation Service Accounts,Jan 1 9999 12:00 AM)。
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt,XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator,ProjectCreationContext context,XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)
- 内部异常 -
异常消息:无法在对象'dbo.Constants'中插入具有唯一索引'IX_Constants__String_RemovedDate'的重复键行。重复键值为(1,a81417a5-ae4c-4a9c-9861-17108ff8ff5c \ Team Foundation Service Accounts,Jan 1 9999 12:00 AM)。
(类型SoapException)SoapException详细信息:< detail ExceptionMessage ="无法在对象'dbo.Constants'中插入具有唯一索引'IX_Constants__String_RemovedDate'的重复键行。重复键值为(1,a81417a5-ae4c-4a9c-9861-17108ff8ff5c \ Team
基础服务帐户,Jan 1 9999 12:00 AM)。 BaseExceptionName =" System.Data.SqlClient.SqlException">< details id =" 0"的xmlns = QUOT; HTTP://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/faultdetail/03"
/>< / detail>
异常堆栈跟踪: at Microsoft.TeamFoundation.WorkItemTracking.Proxy.RetryHandler.HandleSoapException(SoapException se)
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.WorkItemServer.SyncBisGroupsAndUsers(String requestId,String projectUri)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Synchronize(ContextWrapper wrapper)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.InitializeContext(ContextWrapper wrapper)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt,XmlNode taskXml)
--- end exception entry ---
I am using Visual studio 2015 to create new team project on TFS 2015 version 2. I got the error when trying to create new team projects. We were able to create new team projects before and we haven't done any upgrade or domain change since the last team project was created. I was wondering what could be the reason for the failure? I searched online and saw some similar errors but didn't see a complete solution for those errors.
The detailed error message is:
Error TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task LinkTypes from group WorkItemTracking. |
Explanation Plugin error text: "Cannot insert duplicate key row in object 'dbo.Constants' with unique index 'IX_Constants__String_RemovedDate'. The duplicate key value is (1, a81417a5-ae4c-4a9c-9861-17108ff8ff5c\Team Foundation Service Accounts, Jan 1 9999 12:00AM)." |
User Action Contact your Team Foundation Server administrator. |
I checked the log file, and saw the following exception:
2017-06-13T12:17:14 | Module: Work Item Tracking | Thread: 58 | Synchronizing users and groups.
2017-06-13T12:17:29 | Module: Work Item Tracking | Thread: 58 | Synchronization failed due to SoapException: Cannot insert duplicate key row in object 'dbo.Constants' with unique index 'IX_Constants__String_RemovedDate'. The duplicate key value is (1, a81417a5-ae4c-4a9c-9861-17108ff8ff5c\Team Foundation Service Accounts, Jan 1 9999 12:00AM).
2017-06-13T12:17:29 | Module: Work Item Tracking | Thread: 58 | Beginning retry 1.
.................
2017-06-13T12:17:42 | Module: Work Item Tracking | Thread: 58 | Beginning retry 2.
...................
2017-06-13T12:17:54 | Module: Work Item Tracking | Thread: 58 | Beginning retry 3.
......................
2017-06-13T12:17:54 | Module: Work Item Tracking | Thread: 58 | Synchronizing users and groups.
---begin Exception entry---
Time: 2017-06-13T12:18:07
Module: Engine
Event Description: TF30162: Task "LinkTypes" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Cannot insert duplicate key row in object 'dbo.Constants' with unique index 'IX_Constants__String_RemovedDate'. The duplicate key value is (1, a81417a5-ae4c-4a9c-9861-17108ff8ff5c\Team Foundation Service Accounts, Jan 1 9999 12:00AM).
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)
-- Inner Exception --
Exception Message: Cannot insert duplicate key row in object 'dbo.Constants' with unique index 'IX_Constants__String_RemovedDate'. The duplicate key value is (1, a81417a5-ae4c-4a9c-9861-17108ff8ff5c\Team Foundation Service Accounts, Jan 1 9999 12:00AM). (type SoapException)SoapException Details: <detail ExceptionMessage="Cannot insert duplicate key row in object 'dbo.Constants' with unique index 'IX_Constants__String_RemovedDate'. The duplicate key value is (1, a81417a5-ae4c-4a9c-9861-17108ff8ff5c\Team Foundation Service Accounts, Jan 1 9999 12:00AM)." BaseExceptionName="System.Data.SqlClient.SqlException"><details id="0" xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/faultdetail/03" /></detail>
Exception Stack Trace: at Microsoft.TeamFoundation.WorkItemTracking.Proxy.RetryHandler.HandleSoapException(SoapException se)
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.WorkItemServer.SyncBisGroupsAndUsers(String requestId, String projectUri)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Synchronize(ContextWrapper wrapper)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.InitializeContext(ContextWrapper wrapper)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
--- end Exception entry ---
这篇关于TF30177:团队项目创建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!