Upgraded to TFS 2015 - issues due to Database Schema Changed - database

We have recently moved from TS 2010 to TFS 2015 Update 2 and using SQL Reporting Services to retrieve various reports for Test Results, Incident/Bug report.
After upgrading to TFS 2015 mostly of the reports we used to run in TFS 2010 (through Reporting Services) do not work anymore as we can notice that Database Schema has been changed massively in TFS 2015 Database.
For example the following query works perfectly in TFS 2010 Database, however, it does not work at with TFS 2015 database because fields like AreaID, ProjectID, IterationID do not exist in Tbl_Plan anymore.
SELECT pl.*,<BR>
project.ProjectName,<BR>
area.AreaPath AS AreaPath,<BR>
area.AreaUri AS AreaUri,<BR>
iteration.Iteration AS Iteration<BR>
FROM tbl_Plan pl <BR>
LEFT JOIN tbl_Area area ON pl.AreaId = area.AreaId <BR>
LEFT JOIN tbl_Project project ON pl.ProjectId = project.ProjectId AND project.IsDeleted = 0 <BR>
LEFT JOIN tbl_Iteration iteration ON pl.IterationId = iteration.IterationId <BR>
I would appreciate if someone point me to the right direction to obtain the "Database Diagram" of TFS 2015 database so I can understand the relationships between the tables. This will give us a visual representation to quickly understand their relationships.
Additionally, if you believe that this is not a right way to proceed then advise us as we are open to take any option.
Environment: TFS 2015 Update 2
SQL Reporting Services: 2012

It seems there is no Database Diagram of TFS 2015 database available, but there are several types of reporting are available in TFS, you may choose other types instead of SQL Queries to create reports:
Work Item Queries
Work Item Reporting
Out-of-the-box Excel Reports
Out-of-the-box SSRS Reports
Team Web Access Charting
Team Web Access standard reports
Custom Excel Reports
Custom SSRS Reports
SQL Queries
TFS API
REST API
Check blog: http://blogs.ripple-rock.com/richarderwin/2014/05/29/TeamFoundationServerReporting.aspx

We noticed that now plan related details are divided into two tables in TFS 2015.
The following query returns the data I was looking for.
SELECT tbl_Plan.PlanId AS NewPlanID , tbl_PlanData.*
FROM tbl_Plan
INNER JOIN dbo.tbl_PlanData ON tbl_Plan.PlanId = tbl_PlanData.WitId

Related

MS Access: Substitutes for Upsizing Wizard (SSMA?)

Our team has been using Microsoft Access 2010 as a frontend for an SQL Server 2014, and are dependent on the Upsizing Wizard in Access to migrate tables from Access to SQL.
For example, if there is an SQL database named papers, our team has an Access file named papers_temp.accdb. When we want to make changes to a given table (or create a new table) in the papers database, we do this locally in papers_temp.accdb before using the upsizing wizard to migrate the given table from Access to the SQL database, overwriting the table in SQL if it already exists.
From Office 2013 and Access 2013, the Upsizing Wizard is gone, and we are in need of an alternative. Is there a similar tool available for Access 2016, or do we have to adapt to something else entirely? So far open to suggestions.
SQL Server Migration Assistant for Access
I've been exploring this program for the last couple of days, after finding many recommendations for it on the web. It appears to be able to do the upsizing and migration that we need.
However, more often that not, when attempting to select (and load) a table, the program is stuck in a loading process that never seems to end (tried waiting for one hour), meaning I'm forced to close SSMA without saving my project. In general, the program does not seem very stable, and we'd prefer to find a solution that was more familiar to work with.
Perhaps I'm missing something?
Correct, the upsizing wizard has been deprecated and the replacement is (SSMA).
The latest version as of today is:
Microsoft SQL Server Migration Assistant 8.5 for Access
https://aka.ms/ssmaforaccess
In my testing I have learned that it is not compatible with the 2019 O365 version of DAO and you cannot install the correct version of DAO along side O365. This means that this solution is dead in the water. Microsoft has updated us in to a corner where we can't use any of their previous solutions on the latest version of Access. At this point I think we are waiting for MS to update the tools to support the latest version of O365 Access.
If you are stuck in this boat with us the only other option is 3rd party software.

SSRS and PowerBI Server

I've been using SSRS 2012 for a while now. Keep in mind I'm currently using SSRS 2012 but have set up a 2016 server and will be migrating about 200 reports within the next few months. Just went to PBI training and found out about the new Power BI Server that can sit on top of SSRS. Exciting in that we're in healthcare and cannot use the PBI publishing service for HIPAA reasons. But, I wanted to be sure I understand some things:
In SSRS, you can create a datasource and datasets that are used
regularly for efficiency and to keep down storage sizes. In
PBIRServer, it appears that you create each datasource and the
individual datasets used and store separately for each report. Is
this accurate and doesn't that seem like a step back?
Can I include SSRS reports and BPI reports/dashboards on the same
site?
If we're going to set up a local PBIRServer, can we develop using
PBIpro with about 5-10 pro users but then let the folks that
basically just want to view data use the free version?
If we develop using PBIpro can we still publish to the PBIRServer
with mobile formats? Documentation seems to indicate we need a
different development tool with a much higher cost.
Can you include a hyperlink from PBIRServer reports/dashboards that
to a specific report on the same server? I’m seeing this being used
via PBI for the visuals and then the drill-down-to as the existing
SSRS reports. They’re working great for our current purposes.
Is there a publication that articulates some of these specifics?
Thanks so much!
I think the first thing to keep in mind is that reportserver 2016 and power bi reportserver 2016 are different products. Licensing Power BI reportserver can only be obtained by either buying power bi premium capacity or have an enterprise sql server with Software Assurance
PBI premium: Costprice for this will be 5000$ a month
power bi price calculator
SQL Server Enterprise: $14,256 per corepack , 2 are required + SA
I can't answer all other question, but for question 2:
Yes you can deploy power bi and regular reports to a pbiRS server.
Question 3:
When you develop locally you have to use the power bi desktop for reporting services. To deploy this to a pbi RS you are not required to have a pbi pro license. Since you are using on premise resources, you will follow the licensing model of sql reportserver. The users connecting to the reportserver are no power bi users, just regular ssrs consumers install power bi desktop for report services
If I understand your questions well, you might need to install both, depending on organization size, report creators number and report users number.
SSRS for those people who are OK using standard reports only (with exposed datasources and standard layout design tool) so SSRS yes included with your SQL Server license
Power BI Report Server (SQL Enterprise+Assurance or PBI Premium license) for more sophisticated reports for business people; but to design/publish these reports you need Power BI Pro licence, per report developer

SSRS 2005 to 2012 migration - microcharts

We have some reports created in SSRS 2005, which uses Bonavista Microcharts plugin to show microcharts.
We would like to upgrade the reports to SSRS 2012 now, but I couldnot add the XLCubed dll to SSRS report toolbox(which worked perfect in SSRS 2008). It is throwing an error saying "There are no components in this dll that can be placed on toolbox".
I can't even go back to Sparkline in SSRS 2012, because that would require a complete restructure of Dataset. The dataset is designed for Bonavista plugin, the microchart data is combined with a pipe (eg, 500|200|300 etc).
Any change in DS means we will have to make changes in around 300 reports, do we have any 3rd party microchart tool available for SSRS 2012, that is similar to XLCubed microcharts/Bonavista microcharts?
You should take a look at: Nevron Chart for SSRS
Full disclosure: I'm in no way affiliated with Nevron

Reporting in TFS 2013

I am currently working on TFS 2013 and would like to know how to generate custom reports.
Tried google to find out a tutorial but couldn't find anything great. If someone has then please let me know.
Whether SQL Server 2008 R2 Enterprise Reporting Service will be ok for TFS 2013 to generate reports?
TFS has a few mechanisms for doing reporting:
Work Item Queries (WIQ) - Work Item Queries can be created and saved for reuse. Work Item Queries are easy to create, and can answer the majority of questions that users have.
Excel Reporting - Work Item Queries can be exported to Excel to provide more advanced capabilities around analyzing the data resulting from the Query. Various different views of the data along with charts/graphs can be created using standard Excel functionality. Creating Excel Reports requires some expertise in Excel, but the resulting file can be saved and the data can be automatically refreshed from TFS.
SSRS (SQL Server Reporting Services) - This is the most advanced Reporting option. SSRS reports require a developer to create, but it provides the flexibility to report and analyze any data stored in TFS in almost any way imaginable.
TFS Web Access (TWA) - TFS Web Access provides some basic charts/graphs that can be viewed in the browser (Burndown, Cumulative Flow, Velocity Chart, etc). In addition, web-based Charts/Graphs can be generated based on the results of Work Item Queries. This is less flexible than the Excel option, but also more user-friendly and usable by any TFS user.
The advanced option - SSRS Reports - are just your run-of-the-mill SSRS reports that use the TFS Data Warehouse and/or the TFS Cube as a data source. You can read a guide about developing custom SSRS reports for TFS here: http://vsarreportguide.codeplex.com/

Is it possible to query TFS system for any work items that contain an attachment ends with .sql?

For every release we would like to round up all the work items that contain a .sql attachments to run on our staging server. Is there a way to query TFS? Or is this something that has to be done directly to the TFS server database?
Any suggestions?
We're using Team Foundation Server 2010 RTM.
Take a look at X:\Program Files\Microsoft Team Foundation Server 2010\Tools. There exists a plenty of useful command tools.

Resources