Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSRS Reports Versioning

I'm looking for a way to get versioning informations out of my SSRS reports. I have several environments and would like to be able to compare which report version is deployed on these environments. In SSIS this is very easy because each SSIS package gets a new version when it was modified and safed. Is there something similiar with the reports ?

like image 307
nojetlag Avatar asked Nov 01 '10 10:11

nojetlag


People also ask

Is Microsoft getting rid of SSRS?

These features will be removed from versions of SQL Server starting with SQL Server 2022 and will no longer be supported. Only the last three releases, SQL Server 2016, SQL Server 2017, and SQL Server 2019, will be supported in maintenance mode until EOL (End of Life) for existing customers.

Is SSRS being replaced?

Power BI Report Server (PBIRS) is the successor of SSRS and has more features than SSRS. For one, it can use and render both interactive PBIX and analytical XLSX reports which SSRS cannot. PBI now has Cortana integrated for AI-based natural language, Q&A about your data and reports in Power BI.

Does Microsoft still support SSRS?

Discontinued functionality in SQL Server Reporting Services (SSRS) - SQL Server Reporting Services (SSRS) | Microsoft Learn. This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

How do I check my report version?

The version of an installed reporting services service can be found easily at the bottom of the page when you browse to http://servername/reportserver. For the edition, you can check the system registry.


2 Answers

Unfortunately there currently is no built-in functionality similar to a dll assembly version for RDL files.

The only way to get some kind of version information is to query the last modified date of the RDL file on the server via C# or VB.Net. You could do this using the ReportingServices webservice.

You could also implement a custom function which updates some field in your database to the current date each time the RDL file modified.

The problem with all the file modified information: You still don't know which version is on which server, you just know when it was uploaded/modified.

See the following pages for some more information - unfortunately no solution:

  • SSRS 2005 Can I dynamically determine when .rdl file was last modified
  • .RDL "Version" properties like in ".DTSX" files
like image 146
Dennis G Avatar answered Dec 02 '22 04:12

Dennis G


In my reports, I create a variable named Version and make it a string data type (and move it to the top of the variable list). Every time I change a report, I update the Version variable based on Semantic Versioning.

Then, I can query my Report Server and look at the Parameter field of the ExecutionLog table and I can see what version was run. Technically I take care of all of this in an SSIS job that writes to another table, but that's a little outside the scope here.

like image 24
hurleystylee Avatar answered Dec 02 '22 04:12

hurleystylee