This is a migrated thread and some comments may be shown as answers.

Trial Version - version mismatch error

4 Answers 632 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
MA
Top achievements
Rank 1
MA asked on 02 Aug 2020, 09:28 AM

Hi, 

I'm currently evaluating Telerik Reporting to see if it fits our requirements.

I'm trying to use the "Export a report to a single document to render a report"  to render a very simple report with a single "Hello World" textbox. I used the sample code in the link below.

 

https://docs.telerik.com/reporting/programmatic-exporting-report

I downloaded Telerik.Reporting from nuget.org with version: 13.2.19.1030

I however is experiencing an error once I get to the code:

Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", reportSource, deviceInfo);

 

Error: 

Telerik.Reporting.Xml.UnsupportedVersionException: 'Cannot read a document with the specified schema: http://schemas.telerik.com/reporting/2020/2.0.
You might be using an older version of the product.'

How should I get around this ? 

We're trying to get to a decision soon so can you please help us asap.

Thank You

 

 

 

 

 

 

 

4 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 04 Aug 2020, 03:13 PM

Hi M A,

All the Reporting resources and assemblies that interact in a project must be of the same version. From the exception message I infer that the report you use is created with the Standalone designer version R2 2020, for example, 14.1.20.618. The schema of the designer cannot be recognized by the older Telerik Reporting version and this causes the error. You need to reference the same or higher Telerik Reporting version in your project, for example, to upgrade the Telerik.Reporting package to 14.1.20.618.

The other option is to change the schema of your report definition. You may save it as a TRDX file and manually modify the schema to 'http://schemas.telerik.com/reporting/2019/2.0' - see also XML Schema Versioning.

Regards,
Todor
Progress Telerik

0
AQEEL AHMED
Top achievements
Rank 1
answered on 10 Aug 2020, 07:11 AM

i have verified all my files have same version , but i am still having this issue, i am using trial version.

 

 

0
AQEEL AHMED
Top achievements
Rank 1
answered on 10 Aug 2020, 07:58 AM

here what i have notice all the package i have download from nuget having version v14.0.20.219 but the report designer is running v14.1.20.618

 

how to download older version , i am using trial version and the file auto downloaded all files.

 

AQEEL

0
Yana
Telerik team
answered on 11 Aug 2020, 06:33 PM

Hello Aqeel,

You can download an older version of Telerik Reporting from your Telerik account, here is the direct link to the download page:

Download Telerik Reporting 

From the "Version" dropdown you can choose a concrete version  - it lists the available release per your license.

I hope this was helpful. Let me know if I can assist with anything else.

Regards,
Yana
Progress Telerik

Tags
General Discussions
Asked by
MA
Top achievements
Rank 1
Answers by
Todor
Telerik team
AQEEL AHMED
Top achievements
Rank 1
Yana
Telerik team
Share this question
or