【发布时间】:2018-06-09 01:24:16
【问题描述】:
对于 TFS 2015 中的“完整”和“增量”分析数据库同步作业,我们收到以下错误。我已在线搜索此错误,但在我们的情况下没有任何答案有效。有没有人有这方面的经验以及可能的解决方案?
[完整分析数据库同步]:---> AnalysisDatabaseProcessingType=完整,需要CubeSchemaUpdate=True。 ---> Microsoft.TeamFoundation.Warehouse.WarehouseException:TF221122:一个 为团队运行作业完全分析数据库同步时发生错误 项目集合或 Team Foundation 服务器 TEAM FOUNDATION。 ---> Microsoft.TeamFoundation.Warehouse.WarehouseException:未能 过程分析数据库“Tfs_Analysis”。 ---> System.SystemException: 主域和信任域之间的信任关系失败。在 System.Security.Principal.NTAccount.TranslateToSids(IdentityReferenceCollection sourceAccounts, Boolean& someFailed) 在 System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts,类型 targetType,布尔 forceSuccess)在 System.Security.Principal.NTAccount.Translate(类型 targetType)在 Microsoft.TeamFoundation.Warehouse.OlapCreator.AddAccountToRole(角色 角色,字符串 accountName,布尔 throwOnError)在 Microsoft.TeamFoundation.Warehouse.OlapCreator.AddAccountsToRole(数据库 数据库,字符串 roleName,IEnumerable
1 accountNames, Boolean ignoreAccountResolutionFailures) at Microsoft.TeamFoundation.Warehouse.OlapCreator.CreateOrUpdateRoles(Server server, Database database, IEnumerable1 serviceAccountNames,布尔值 ignoreServiceAccountResolutionFailures, IEnumerable1 readerAccountNames, Boolean ignoreReaderAccountResolutionFailures) at Microsoft.TeamFoundation.Warehouse.OlapCreator.UpdateOlapSchema(Server server, IEnumerable1 readerAccountNames, WarehouseConfig 仓库配置)在 Microsoft.TeamFoundation.Warehouse.TFSOlapProcessComponent.UpdateOlapSchema() 在 Microsoft.TeamFoundation.Warehouse.TFSOlapProcessComponent.ProcessOlap(AnalysisDatabaseProcessingType processingType, WarehouseChanges warehouseChanges, Boolean lastProcessingFailed, Boolean cubeSchemaUpdateNeeded) --- 内部结束 异常堆栈跟踪 --- 在 Microsoft.TeamFoundation.Warehouse.TFSOlapProcessComponent.ProcessOlap(AnalysisDatabaseProcessingType processingType, WarehouseChanges warehouseChanges, Boolean lastProcessingFailed,布尔 cubeSchemaUpdateNeeded)在 Microsoft.TeamFoundation.Warehouse.AnalysisDatabaseSyncJobExtension.RunInternal(IVssRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime queueTime, String& resultMessage) 在 Microsoft.TeamFoundation.Warehouse.WarehouseJobExtension.Run(IVssRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime queueTime, String& resultMessage) --- 内部异常堆栈结束 追踪---
【问题讨论】:
-
说“我搜索了问题,但没有任何建议有效”是没有帮助的。 什么你试过了吗? 什么没用?
-
你是对的。那很模糊。我在 Analysis Services 上的 Tfs_Analysis 数据库中检查了 TfsWarehouseDataReader 角色中的 SID。它们是正确的,并且都与 TFS 和数据库服务器在同一个域中。