Can I downgrade the report viewer version??

1 Answer 797 Views
Report Viewer - HTML5
Lasitha
Top achievements
Rank 1
Iron
Lasitha asked on 26 Jan 2023, 10:14 AM

I'm trying to implement the telerik reporting into a Blazor Hybrid app and it gives "The version of the Report Viewer '17.0.23.118' does not match the version of the Reporting REST Service '16.0.22.225'. Please make sure both are running same version." error. I guess this because of my backend telerik version and report viewer versions are different. I'm using an already build API so, is there any chance to downgrade the report viewer version to 16.0.22.225 ?

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 31 Jan 2023, 08:03 AM

Hi Lasitha,

Indeed, the problem is with the version mismatch between the viewer and the service.

You may downgrade the viewer by referencing the older Telerik.ReportViewer.Blazor assembly/NuGet package and its older JavaScript. The script is usually referenced in the '_Host.cshtml' and by default is referenced from the service:

<script src="/api/reports/resources/js/telerikReportViewer"></script>

or

<script src="/api/reports/resources/js/telerikReportViewer-17.0.23.118.min.js"></script>

If you reference the script with the second approach, you need to ensure the version coincides with the service version.

You may also need to downgrade the Kendo dependencies according to the HTML5 Report Viewer Dependencies for the service version.

If you use a custom template for the viewer, you may need to modify it as well.

Regards,
Todor
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
Report Viewer - HTML5
Asked by
Lasitha
Top achievements
Rank 1
Iron
Answers by
Todor
Telerik team
Share this question
or