无法在新创建的网站集中创建TFS项目。 我使用的用户是“项目集合管理员”组的成员。我在日志中收到以下异常:
[2019-05-01 00:51:07Z]执行服务步骤“创建团队项目”。 (ServicingOperation:ProjectCreate;步骤组:ProjectCreate.TfsIntegration) [2019-05-01 00:51:07Z] [信息学]执行步骤:“创建团队项目” Integration.CreateTeamProject(12之4) [2019-05-01 00:51:07Z] [错误]对象引用未设置为对象的实例。 [2019-05-01 00:51:07Z]
[Informational] System.NullReferenceException:对象引用未设置为对象的实例。 在Microsoft.TeamFoundation.Integration.Server.AuthorizationSecurityClass..ctor(IVssRequestContext requestContext,String classId,LocalSecurityNamespace classSecurity,List
| A | B | C | |--------|------|-----| | green | blue | 0.5 | | yellow | blue | 0.8 | | pink | green| 0.8 |
1个节点)上 在Microsoft.TeamFoundation.WorkItemTracking.Server.PlugIns.CommonStructureServiceProvider中。<> c__DisplayClass11_0.b__2() 在Microsoft.TeamFoundation.WorkItemTracking.Server.PlugIns.CommonStructureServiceProvider.MapExceptions(Guid projectId,ITreeDictionary快照,Action操作) 在Microsoft.TeamFoundation.WorkItemTracking.Server.PlugIns.CommonStructureServiceProvider.CreateNodes(IVssRequestContext requestContext,Guid projectId,IEnumerable`1个节点) 在Microsoft.TeamFoundation.Integration.Server.CommonStructureService.CreateInitialNodesAndDefaultTeam(IVssRequestContext requestContext,String projectName,Guid projectId,String projectUri,XmlNode []节点) 在Microsoft.TeamFoundation.Integration.Server.CommonStructureService.CreateInitialNodesAndDefaultTeam(IVssRequestContext requestContext,String projectName,Guid projectId,String projectUri,XmlElement结构) 在Microsoft.TeamFoundation.Server.Servicing.TFCollection.IntegrationStepPerformer.CreateTeamProject(IVssRequestContext targetRequestContext,ServicingContext servicingContext)中 在Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformHostStep(字符串servicingOperation,ServicingOperationTarget目标,IServicingStep servicingStep,字符串stepData,ServicingContext servicingContext) 在Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation,ServicingOperationTarget target,String stepType,String stepData,ServicingContext servicingContext)中 在Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep步骤,ServicingContext servicingContext,ServicingStepGroup组,ServicingOperation servicingOperation,Int32 stepNumber,Int32 totalSteps) [2019-05-01 00:51:07Z]服务步骤“创建团队项目”失败。 (ServicingOperation:“ ProjectCreate”;步骤组:“ ProjectCreate.TfsIntegration”)