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

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.

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

Related

SQL Server 2017 Express edition getting failed with error: Wait on Database engine recovery handle failed

Getting this error at installation steps all the time.
Tried Uninstalling and then deleted foldet from Program files and then deleted from registry as well. AFter retry getting same error again.

TFS Installation error at Configure section of Application Tier Only Wizard

When doing Application Tier only installation on TFS, I received the following error at the Configure section of the Application Tier Only Wizard.
TF255356: The following error occurred when configuring the Team Foundation databases: TF246083: The configuration of Team Foundation Server is not valid. You must remap the databases in order to fix the configuration. The following error was received from the server: TF400673: Unable to find any compatible SQL Analysis Services database within the specified instance.
'2' hosts have been given updated connection strings.
.. For more information, see the configuration log.
How do I resolve this error?
Image Link for Application Tier Only Wizard
This problem usually occurs when Move or Clone Team Foundation Server from one hardware to another.
Based on the error message, seems you have not restored the TFS_Analysis database or somthing wrong with the restored TFS_Analysis database.
So, you can try to restore the TFS_Analysis database, then check it again. If the issue still exists there, then you can refer to below thread and following the steps to fix that:
TFS Configuration
Cloning Your TFS Server Part 02 – Prepare Restored Databases
UPDATE:
You have to restore the TFS_Analysis database first, you can not configure the AT without the DB. Alternatively you can do a complete new installation and create a new TFS deployment. See Install TFS on a single server for details.

Visual Studio Team Services - Nuget Push Exception: Unable to write data to the transport connection

4 out of 5 pushs of my Nuget packages to our Team Services (was TFS Online) feed fail with the following exception:
System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
Nuget v3
My package is around 90mb
Authentication tokens and VSS tokens both fail with the same issue
Fails locally and on the build server with the same exception
Any idea what is causing this exception?
The solution is publishing package to VSTS feed in a faster network.
On the other hand, I submit a user voice here that you could vote it.

Error message from Team Foundation Server Administration Console

After successfully (?) installing TFS 2010 (basic configuration), when I click Administer Security on the Application Tier page on the Team Foundation Server Administration Console to add users, I get the following error message:
The server was unable to process request. ---> Team Foundation services are not available from the server.
Technical information (for administrator):
The request could not be processed because the application is not configured correctly. No service host is available for the request.
I have made the same kind of installation on another server without any problems, but I don't understand what the problem is in this server. What do I need to check?
I had the same error after following the MS instructions here: http://msdn.microsoft.com/en-us/library/ms404869(v=VS.100).aspx
I fixed the error by running the following command:
TFSConfig registerDB /SQLInstance:servername /DatabaseName:Tfs_Configuration

WMI Security error TF255437 when installing TFS 2010 RC

Does anyone know the resolution to the following error. In this scenario, TFS will be using a local report server instance which points uses a separate SQL Server database engine instance.
An error occurred while querying the
Windows Management Instrumentation
(WMI) interface on the following
computer databaseServer. The
following error message was received:
Access is denied. (Exception from
HRESULT: 0x80070005 (E_ACCESSDENIED)).
You can grant the priveleges temporarily at install time and then remove them. I had the same issue and that appears to be the only solution.

Resources