TFS_Analysis

Problem processing analysis DB after TFS 21013 Update 3.
When I try to process my analysis DB I get the ERROR Processing Dimension Attribute Iteration Path failed and Processing Dimension Attribute Test Plan Owner failed.
any hints?

Hi Carlos,
According to your description, you want to use Tfs_Analysis database, however you cannot find it, right?
SQL Server can handle both relation databases (using database engine) and OLAP cubes (using Analysis Services, SQL Server Analysis Services (SSAS)). SSAS is optional in SQL server installation. TFS uses SSAS as an option if you install the reporting capabilities,
you can select the reporting tab in TFS2012 Admin Console to see if it installed and what server it runs on. From BIDS you simple select Analysis Services as type of data source and then the server name hosting SSAS (probably SQL1P if you have it installed).
But if you not to familiar with SSAS and its query language MDX, you can always use the relational database TFS_Warehouse and SQL as data source for your custom reports.
Reference:
How to Rebuild TFS Analysis Database
If the issue persists, since this issue is related TFS, you can post the issue on Team Foundation Server - Reporting & Warehouse forum on the link below.
http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=tfsreporting
Regards,
Charlie Liao
If you have any feedback on our support, please click
here.
Charlie Liao
TechNet Community Support

Similar Messages

  • Can't find all Tfs_Warehouse fields in the Tfs_Analysis cube.

    I'm converting an SSRS report that currently hits the Tfs_Warehouse relational DB and we want it to use the Tfs_Analysis OLAP cube instead.
    The report uses the dbo.dimIteration.StartDate field from the Tfs_Warehouse DB, I can't find it in the cube...
    Anyone knows how it's called or how to find it in the TFS cube?
    TFS 2012...

    Hi Carlos,
    According to your description, you want to use Tfs_Analysis database, however you cannot find it, right?
    SQL Server can handle both relation databases (using database engine) and OLAP cubes (using Analysis Services, SQL Server Analysis Services (SSAS)). SSAS is optional in SQL server installation. TFS uses SSAS as an option if you install the reporting capabilities,
    you can select the reporting tab in TFS2012 Admin Console to see if it installed and what server it runs on. From BIDS you simple select Analysis Services as type of data source and then the server name hosting SSAS (probably SQL1P if you have it installed).
    But if you not to familiar with SSAS and its query language MDX, you can always use the relational database TFS_Warehouse and SQL as data source for your custom reports.
    Reference:
    How to Rebuild TFS Analysis Database
    If the issue persists, since this issue is related TFS, you can post the issue on Team Foundation Server - Reporting & Warehouse forum on the link below.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=tfsreporting
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Unable to create a TFS Report in Excel (via SSAS)

    Dear all,
    I hope this is the correct forum to ask my question about TFS and SSAS. We have a TFS2012 environment in a domain. We have installed and configured the reporting and analysis services (SQL Server 2012). Now I am trying to create a report in Excel (2013)
    based on a TFS query but I get an exception: 
    TF208056: An error occurred while the command was accessing the Analysis Services database TFS_Analysis on the server <Servername>. 
    I am, hoewever, able to connect to the analysis server with the credentials I enter in Excel. 
    Hope anyone of you has an idea. Please inform me if I need to supply any more info.

    Hi Ben,
    According to your description, you are experiencing the issue "TF208056: An error occurred while the command was accessing the Analysis Services database TFS_Analysis on the server <Servername>." when trying to create a report in Excel (2013)
    based on a TFS query, right?
    Based on my research, the issue can be caused by the port for the SQL Browser service was blocked on the  local machine. You can open windows firewall for AS to check if this issue is persists or not.
    Open the windows firewall for AS
    netsh advfirewall firewall add rule name="SQL Server Analysis Services inbound on TCP 2383" dir=in action=allow protocol=TCP localport=2383 profile=domain
    Open the windows firewall for browser (optional)
    netsh advfirewall firewall add rule name="SQL Server Browser Services inbound on TCP 2382" dir=in action=allow protocol=TCP localport=2382 profile=domain
    Reference
    http://msdn.microsoft.com/en-us/library/ms174937.aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • OLAP Cube / DataWarehouse corruption (?) - TfsJobAgent no longer syncronizing

    About a week ago, this stopped working. I notice 3 errors in the event log:
    EventId 3300, 3300,3305: The error involves the TfsJobAgent, an apparent failure to update a dimension attribute & process the analysis cube.
    Since then I've tried to A) process the cube, B) restart the DB & TFS servers, C) rebuild the cube.
    How can I fix this ?
    Details below:
     TF53010: The following error has occurred in a Team Foundation component or extension:
     Date (UTC): 31.12.2012 13:05:57
     Machine: NT-TFS
     Application Domain: TfsJobAgent.exe
     Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
     Service Host:
     Process Details:
       Process Name: TFSJobAgent
       Process Id: 1252
       Thread Id: 3176
       Account name: XXX\tfsservice
     Detailed Message: Failed to create or update dimension attribute
    for the Microsoft_VSTS_Common_Activity warehouse field in dimension Work Item.
     Exception Message: Object reference not set to an instance of an object. (type
    NullReferenceException)
     Exception Stack Trace:    at Microsoft.TeamFoundation.Warehouse.OlapCreator.AddOrUpdateDimensionAttribute(WarehouseConfig warehouseConfig, DataTable dataSource, Dimension dimension, Field field, Boolean createRelationshipToKey)
     TF53010: The following error has occurred in a Team Foundation component or extension:
     Date (UTC): 31.12.2012 13:05:57
     Machine: NT-TFS
     Application Domain: TfsJobAgent.exe
     Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
     Service Host:
     Process Details:
       Process Name: TFSJobAgent
       Process Id: 1252
       Thread Id: 3176
       Account name: XXX\tfsservice
     Detailed Message: Failed to Process Analysis Database 'Tfs_Analysis'.
     Exception Message: Failed to Process Analysis Database 'Tfs_Analysis'. (type
    WarehouseException)
     Exception Stack Trace:    at Microsoft.TeamFoundation.Warehouse.TFSOlapProcessComponent.ProcessOlap(AnalysisDatabaseProcessingType processingType, WarehouseChanges warehouseChanges, Boolean lastProcessingFailed, Boolean
    cubeSchemaUpdateNeeded)
        at Microsoft.TeamFoundation.Warehouse.AnalysisDatabaseSyncJobExtension.RunInternal(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime queueTime, String& resultMessage)
        at Microsoft.TeamFoundation.Warehouse.WarehouseJobExtension.Run(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime queueTime, String& resultMessage)
     Inner Exception Details:
     Exception Message: Object reference not set to an instance of an object. (type
    NullReferenceException)
     Exception Stack Trace:    at Microsoft.TeamFoundation.Warehouse.OlapCreator.AddOrUpdateDimensionAttribute(WarehouseConfig warehouseConfig, DataTable dataSource, Dimension dimension, Field field, Boolean createRelationshipToKey)
        at Microsoft.TeamFoundation.Warehouse.OlapCreator.CreateOrUpdateDimensions(WarehouseConfig warehouseConfig, Database database, Cube cube, Boolean recreateAllTfsEntities, IEnumerable`1 dimensionNames)
        at Microsoft.TeamFoundation.Warehouse.OlapCreator.CreateOrUpdateCubes(WarehouseConfig warehouseConfig, Database database, DataSourceView dsv, IEnumerable`1 dimensionNames, IEnumerable`1 factNames, Boolean recreateAllTfsEntities)
        at Microsoft.TeamFoundation.Warehouse.OlapCreator.CreateOrUpdateOlapSchema(WarehouseConfig warehouseConfig, Database database, DataSourceView dataSourceView)
        at Microsoft.TeamFoundation.Warehouse.OlapCreator.UpdateOlapSchema(Server server, IEnumerable`1 readerAccountNames, WarehouseConfig warehouseConfig)
        at Microsoft.TeamFoundation.Warehouse.TFSOlapProcessComponent.UpdateOlapSchema()
        at Microsoft.TeamFoundation.Warehouse.TFSOlapProcessComponent.ProcessOlap(AnalysisDatabaseProcessingType processingType, WarehouseChanges warehouseChanges, Boolean lastProcessingFailed, Boolean cubeSchemaUpdateNeeded)
     TF53010: The following error has occurred in a Team Foundation component or extension:
     Date (UTC): 31.12.2012 13:05:57
     Machine: NT-TFS
     Application Domain: TfsJobAgent.exe
     Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
     Service Host:
     Process Details:
       Process Name: TFSJobAgent
       Process Id: 1252
       Thread Id: 3176
       Account name: XXX\tfsservice
     Detailed Message: TF221122: An error occurred running job Incremental Analysis Database Sync
    for team project collection or Team Foundation server TEAM FOUNDATION.
     Exception Message: Failed to Process Analysis Database 'Tfs_Analysis'. (type WarehouseException)
     Exception Stack Trace:    at Microsoft.TeamFoundation.Warehouse.TFSOlapProcessComponent.ProcessOlap(AnalysisDatabaseProcessingType processingType, WarehouseChanges warehouseChanges, Boolean lastProcessingFailed, Boolean cubeSchemaUpdateNeeded)
        at Microsoft.TeamFoundation.Warehouse.AnalysisDatabaseSyncJobExtension.RunInternal(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime queueTime, String& resultMessage)
        at Microsoft.TeamFoundation.Warehouse.WarehouseJobExtension.Run(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime queueTime, String& resultMessage)
     Inner Exception Details:
     Exception Message: Object reference not set to an instance of an object. (type NullReferenceException)
     Exception Stack Trace:    at Microsoft.TeamFoundation.Warehouse.OlapCreator.AddOrUpdateDimensionAttribute(WarehouseConfig warehouseConfig, DataTable dataSource, Dimension dimension, Field field, Boolean createRelationshipToKey)
        at Microsoft.TeamFoundation.Warehouse.OlapCreator.CreateOrUpdateDimensions(WarehouseConfig warehouseConfig, Database database, Cube cube, Boolean recreateAllTfsEntities, IEnumerable`1 dimensionNames)
        at Microsoft.TeamFoundation.Warehouse.OlapCreator.CreateOrUpdateCubes(WarehouseConfig warehouseConfig, Database database, DataSourceView dsv, IEnumerable`1 dimensionNames, IEnumerable`1 factNames, Boolean recreateAllTfsEntities)
        at Microsoft.TeamFoundation.Warehouse.OlapCreator.CreateOrUpdateOlapSchema(WarehouseConfig warehouseConfig, Database database, DataSourceView dataSourceView)
        at Microsoft.TeamFoundation.Warehouse.OlapCreator.UpdateOlapSchema(Server server, IEnumerable`1 readerAccountNames, WarehouseConfig warehouseConfig)
        at Microsoft.TeamFoundation.Warehouse.TFSOlapProcessComponent.UpdateOlapSchema()
        at Microsoft.TeamFoundation.Warehouse.TFSOlapProcessComponent.ProcessOlap(AnalysisDatabaseProcessingType processingType, WarehouseChanges warehouseChanges, Boolean lastProcessingFailed, Boolean cubeSchemaUpdateNeeded)

    Hi JReuben, 
    Thanks for your post.
    First, I suggest you clean the Cache manually:
    Clean the Cache folder on client computer. The folder path is: C:\Users\username(Team Explorer user name)\AppData\Local\Microsoft\Team Foundation\3.0\Cache(os: Windows Server 2008 R2)
    Clean the Cache folder on Server machine. The folder path is: C:\Users\username(Web access user name)\AppData\Local\Microsoft\Team Foundation\3.0\Cache(os: Windows Server 2008 R2)
    After cleaned, on Server machine, click
    Start and select Run… to open the dialog box, then input
    iisreset.exe and click OK, wait it run completely.
    Second, I suggest you try to delete the Tfs_Warehouse database and Tfs_Analysis database from SQL Server, then recreate Tfs_Warehouse database and Tfs_Analysis database using TFS Admin Console.
    To delete the Tfs_Analysis database, you can connect to
    Analysis Service using Microsoft SQL Server Management Studio, expand the
    Databases node, and delete the Tfs_Analysis database. And the same way to delete Tfs_Warehouse database from SQL Server.  
    To recreate the Tfs_Warehouse and Tfs_Analysis database, please refer to the following steps:
    1       
    Launch TFS Admin Console>>Application Tier>>Reporting, in the right panel, click
    Edit to open the Reporting windows.
    2       
    Under Warehouse tab, type Tfs_Warehouse under
    Database textbox. 
    3       
    Under the Analysis Services tab, input the Tfs_Analysis under
    Database textbox, and re-provide the required account under
    Account for accessing data source.
    4       
    Click Ok to generate the new Tfs_Warehouse and Tfs_Analysis database in SQL Server. 
    5       
    Click Start Jobs and
    Start Rebuild to rebuild warehouse and the Analysis Services database.
    After recreated the warehouse and analysis databases, you can manually processing your TFS 2010 data warehouse and Analysis Service database, please refer to the detailed steps in this article:
    http://blog.accentient.com/2010/04/08/ManuallyProcessingTheTeamFoundationServer2010DataWarehouseAndAnalysisServicesDatabase.aspx.
    And you can refer to the discussions in this post:
    http://social.msdn.microsoft.com/Forums/en-US/tfsreporting/thread/dc0239ec-fdd4-41e0-875b-0aee388f5cbb/. 
    John Qiao [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Reporting Services Cube Status

    Hi all,
    I am newbie to reporting service of team foundation server 2013. I just want to know what is the use of cube in reporting services in team foundation server environment. please clear my doubts.
    Thanks for help.

    Hi Vishwajeet,
    Thanks for your post.
    If you configure Reporting Service for TFS 2013 Server, TFS will create the warehouse database and Tfs_Analysis cube database, then TFS report files will get data from cube. Please refer to below documents:
    http://msdn.microsoft.com/en-us/library/ms244710.aspx
    http://msdn.microsoft.com/en-us/library/ms244691.aspx
    http://msdn.microsoft.com/en-us/library/bb649552.aspx
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error when trying to view reports or manually processing the TFS data warehouse and analysis services cube

    Hello Guys,
    I am trying to configure the reporting for TFS using SQL Server. But I get following error when viewing any report:
    So I try to manually process the cube to check if it works. I am following this article: https://msdn.microsoft.com/en-us/library/ff400237.aspx
    When I click on GetProcessingStatus and invoke it (with last field set as TRUE) I get following error:
    Please advice as to how to resolve this issue and be able to see the reports.

    I have managed to resolve this issue. Note that for all purposes of this question and answer, mydomain\tfsadmin is a generic user (used to install all software). This is a proof of concept account, for test purposes
    The thing is that while installation of the SQL Analysis service I had given the username: mydomain\tfsadmin (a generic user for testing) as the Analysis service administrator, instead of the 'Domain admin' group.
    Still I have managed to resolve this issue.
    Steps:
    1. Make sure that the user (mydomain\tfsadmin) is a member of Analysis Server -> TFS_Analysis db -> Roles -> TFSWarehouseAdministrator and TFSWarehouseDataReader. (This actually happens automatically when you run the TFS Admin console and configure
    reporting and provide the username that will access the Analysis db, etc. In my case the user is 'mydomain\tfsadmin')
    2. It is a bad practice to manually process the cube (you can do this is make sure that there are no errors, but only after completing the following steps till step 5)
    3. Also make sure that NT AUTHORITY\NETWORK SERVICE is member of the Analysis db -> Roles -> TFSWarehouseAdministrator ->
    this will resolve the error which appears in the 2nd screenshot in the question.
    4. Then you can right click on the Analysis db and run process. If this is throwing error as shown in above reply of mine, then you need to follow https://msdn.microsoft.com/en-us/library/vstudio/ff400237.aspx
    a. http://localhost:8080/tfs/TeamFoundation/Administration/v3.0/WarehouseControlService.asmx
    b. Choose
    ProcessWarehouse, run it.
    c. Choose ProcessAnalysisDatabase, type 'Full' and run it.
    d. Choose GetProcessingStatus,
    enter 'TRUE' in last field and run it.
    e. I don't get any errors at this point.
    5. Now you can connect to the Analysis server via SQL Mgmt Console, right click on Analysis db (TFS_Analysis) and click Process. It all works good.
    6. Now you can browse to the report URL (to get this URL you can open Team explorer 2013, connect to you team project, on RHS click 'Reports', Click 'Go to Site'.
    DONE.

  • Sprint Burndown Reports...

    Hi dears
    I was installed the Windows Server 2008 R2 & SQL Server 2012 SP1 and TFS 2013 UP 2.
    I was used the Scrum Template for my Projects.
    When i was use the Reports for example Sprint Burndown I have this error:
    "An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'dsArea'. (rsErrorExecutingCommand)
    For more information about this error navigate to the report server on the local server machine, or enable remote errors."
    I had the same error on the TFS 2010! and i could not be solved this.
    I think do not see this error in the TFS 2013!!!

    Hi
    I was installed  Windows Server 2008 R2 & SQL Server 2012 SP1 and TFS 2013 UP 2.
    I was used the Scrum Template for my Projects.
    When i was use the Reports for example Sprint Burndown I have this error:
    "An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'dsArea'. (rsErrorExecutingCommand)
    For more information about this error navigate to the report server on the local server machine, or enable remote errors."
    I had the same error on the TFS 2010! and i could not be solved this.
    I think do not see this error in the TFS 2013!!!
    i am following this article:
    http://msdn.microsoft.com/en-us/library/ff400237.aspx
    but i have this error:
    JobProcessingStatus="Idle" Name="Full Analysis Database Sync"> -<LastRun Result="Failed" EndTimeUtc="2014-04-28T10:06:52.663Z"
    ExecutionStartTimeUtc="2014-04-28T10:06:51.31Z" QueueTimeUtc="2014-04-28T10:06:50.27Z"> <ResultMessage>[Full Analysis Database Sync]: ---> 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.Framework.Server.AnalysisServiceConnectionException: TF400670: Error encountered when creating connection to Analysis Services.
    Contact your Team Foundation Server administrator. ---> Microsoft.AnalysisServices.OperationException: Either the user, NT AUTHORITY\NETWORK SERVICE, does not have access to the Tfs_Analysis database, or the database does not exist. at Microsoft.AnalysisServices.XmlaClient.CheckForSoapFault(XmlReader
    reader, XmlaResult xmlaResult, Boolean throwIfError) at Microsoft.AnalysisServices.XmlaClient.SendMessage(Boolean endReceivalIfException, Boolean readSession, Boolean readNamespaceCompatibility) at Microsoft.AnalysisServices.AnalysisServicesClient.Discover(IMajorObject
    obj, ObjectExpansion expansion) at Microsoft.AnalysisServices.Server.Refresh(IMajorObject obj, ObjectExpansion expansion) at Microsoft.AnalysisServices.Server.Connect(String connectionString, String sessionId, ObjectExpansion expansionType) at Microsoft.TeamFoundation.Warehouse.AnalysisServicesUtil.Connect(Server
    server, String serverName) --- End of inner exception stack trace --- at Microsoft.TeamFoundation.Warehouse.AnalysisServicesUtil.Connect(Server server, String serverName) at Microsoft.TeamFoundation.Warehouse.TFSOlapProcessComponent..ctor(TeamFoundationRequestContext
    requestContext) at Microsoft.TeamFoundation.Warehouse.AnalysisDatabaseSyncJobExtension.RunInternal(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime queueTime, String& resultMessage) at Microsoft.TeamFoundation.Warehouse.WarehouseJobExtension.Run(TeamFoundationRequestContext
    requestContext, TeamFoundationJobDefinition jobDefinition, DateTime queueTime, String& resultMessage) --- End of inner exception stack trace ---</ResultMessage> </LastRun> <NextRun QueueTimeUtc="2014-04-28T21:30:00Z" JobState="QueuedScheduled"/>
    </Job> -<Job JobProcessingStatus="Idle" Name="Incremental Analysis Database Sync"> -<LastRun Result="Failed" EndTimeUtc="2014-04-28T10:05:52.05Z" ExecutionStartTimeUtc="2014-04-28T10:05:50.79Z"
    QueueTimeUtc="2014-04-28T10:05:50.53Z"> <ResultMessage>[Incremental Analysis Database Sync]: ---> Microsoft.TeamFoundation.Warehouse.WarehouseException: TF221122: An error occurred running job Incremental Analysis Database Sync for team
    project collection or Team Foundation server TEAM FOUNDATION. --->.....
    help me...

  • Reports Migration from TFS 2008 to TFS 2013.

    Hi There,
    We wanted to migrating reports(integrated with TFS 2008) to new report server(integrated with TFS 2013) using RDL pull and push method using rs.exe tool. later planning to rebuild Tfs_Warehouse and Tfs_Analysis. Below are my queries:
     If i migrate the reports using pull and push method will those report.rdl files still work with TFS2013 re-built data or
    Should i upgrade the entire ReportServerDB? If so, does report.rdl files under go any changes during upgrade?
    please guide me if my understanding is wrong and suggest me what should be taken care if i follow pull and push method.
    Thanks in Advance.

    Hi Manoj C N,
    If you can migrate your report server database, it would be better to migrate the Reporting service databases to new report server since the data will not be changed.
    About the existing reports, please elaborate more details and the result after taking the methods. But for moving reports, you can also download the existing reports and upload to the new report server. Refer to the link below for more information:
    http://blogs.msdn.com/b/tfssetup/archive/2012/12/19/moving-rdl-files-from-one-reporting-services-instance-to-another.aspx
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for