7

I have a number of SSRS reports that are currently in 2016 schema and need to be converted to 2008 R2 schema upon build.

Does anyone know how I can achieve this? Is it actually possible to do this? Does Microsoft provide a tool for this purpose?

It is difficult to find information on this, so any help would be greatly appreciated!

Thanks all!

Mark
  • 501
  • 2
  • 11
  • 28
  • 1
    If you mean you want to deploy to a 2008R2 server, then I think you can just change the `Target Server Version` in the project settings in Visual Studio. – Alan Schofield May 19 '17 at 08:23
  • @AlanSchofield is correct; to expand this slightly, when you're building the project and have set the `Target Server Version` as required, the actual RDL build artefacts file(s) with the 2008R2/2012/2014 schema will be available in the project `bin` folder. This assumes that there are no 2016 specific features in the report or the build/deploy will fail. – Ian Preston May 19 '17 at 11:09
  • Seems like about the same issue as https://stackoverflow.com/questions/38902037/ssrs-report-definition-is-newer-than-server/54711646#54711646 – Sevenate May 01 '19 at 18:38

2 Answers2

12

You can convert 2016 rdls to 2008 r2 version by following below simple steps :

  • Update Version 2016 to 2008 in first line.
  • Delete two lines of both opening and closing part of the ReportSection and ReportSections.
  • Delete complete ReportParametersLayout part.
Community
  • 1
  • 1
Shubham Yadav
  • 129
  • 1
  • 4
5

Using Visual Studio 2017.

  1. Right click on Project then Go to Properties.

Project Properties

  1. Change TargetServerVersion to any of the following then click OK

    SQL Server 2008

    SQL Server 2008 R2, 2012 or 2014

TargerServerVersion

  1. This step is crucial. when you are done with the design.

    • Right click RDL or project and click Build.

Build

depending on build configuration you should have rdl file created for you in the follwing path.

\bin\Release\report1.rdl

\bin\Debug\report1.rdl
Masoud R
  • 102
  • 3
  • 10
  • Thanks for sharing this. This is much easier than messing around manually editing the RDL structure as some other answers suggest. – Alex Jul 16 '20 at 07:38
  • This is the best solution. Modifying the XML is terrible and doesn't always work. – speedinfusion May 16 '23 at 18:53