TF221122: An error occurred running job Full Analysis Database Sync for team project collection or Team Foundation server TEAM FOUNDATION

半城伤御伤魂 提交于 2019-12-11 07:27:50

问题


When I tried to create a Code Churn report in TFS 2015 analysis database, i have noticed that the data is quite old around months. I found out that in these kind of situations we can do the below:

Manually process the TFS data warehouse and analysis services cube

While running the GetProcessingStatus i got the error:

[Full Analysis Database Sync]: ---> AnalysisDatabaseProcessingType=Full, needCubeSchemaUpdate=True. ---> Microsoft.TeamFoundation.Warehouse.WarehouseException: TF221122: An error occurred running job Full Analysis Database Sync for team project collection or Team Foundation server TEAM FOUNDATION. ---> Microsoft.TeamFoundation.Warehouse.WarehouseException: Failed to Process Analysis Database 'Tfs_Analysis'. ---> Microsoft.TeamFoundation.Warehouse.WarehouseException: Internal error: The operation terminated unsuccessfully. The following system error occurred: This user isn't allowed to sign in to this computer. Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Tfs_AnalysisDataSource', Name of 'Tfs_AnalysisDataSource'. Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Dim Build', Name of 'Build' was being processed. Errors in the OLAP storage engine: An error occurred while the 'Build BK' attribute of the 'Build' dimension from the 'Tfs_Analysis' database was being processed. Server: The current operation was cancelled because another operation in the transaction failed. The following system error occurred: This user isn't allowed to sign in to this computer. Errors in the high-level relational engine.......

Please help.


回答1:


To solve this i had to recreate the Tfs_Analysis and Tfs_Warehouse databases after deleting them using SSMS.

Follow this link: https://social.msdn.microsoft.com/Forums/en-US/83db0db7-7118-40f3-af14-4e3871a7be7f/tf53010-the-following-error-has-occurred-in-a-team-foundation-component-or-extension-tf221122?forum=tfsadmin



来源:https://stackoverflow.com/questions/41544242/tf221122-an-error-occurred-running-job-full-analysis-database-sync-for-team-pro

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!