Completed
Last Updated: 25 Apr 2023 11:15 by ADMIN
Release R3 2022 SP1
Ibrahim
Created on: 20 Oct 2022 08:51
Type: Bug Report
4
"Error creating report instance" when starting viewer in .NET7 RC1 application
1. Start HTML5 or Blazor viewer or designer in a .NET7 RC1 application

Expected: Report Catalog report shown.
Actual: Error creating report instance (Report = 'Report Catalog.trdp'). An error has occurred. A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. Path: $.
10 comments
ADMIN
Dimitar
Posted on: 25 Apr 2023 11:15

Hi Victor,

Since you are experiencing a different problem, please open a new ticket about it or create a forum thread where we may investigate the issue - Questions on Reporting Forum | Telerik Forums.

Regards,
Dimitar
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/.
Víctor
Posted on: 20 Apr 2023 14:43
I've also seen this message with .NET 7, but seems to be gone now. Now the problem is I can no t save as a new report. 

Could not create document. undefined

I can save, and I can open the AssetManager to copy paste a report and edit the new one. But I acn not create a new report
Steve
Posted on: 19 Apr 2023 17:18
I had this same issue even though I was still targeting Net6, I had inadvertently updated 2 Microsoft libraries to 7.0.1 Reverting these back to 6.0.16 corrected the issue and reports now run as expected.
ADMIN
Dimitar
Posted on: 07 Apr 2023 13:16

Hello Ronald,

For .NET 6, it may be possible to "ignore" the problem with the following code:

services.AddControllers().AddNewtonsoftJson(options=>
    options.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore);

However, the much safer option, that I would recommend, is to just upgrade the Telerik Reporting references to 16.2.22.1109 or newer.

Regards,
Dimitar
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/.
Ronald
Posted on: 04 Apr 2023 15:07

Hi Dimitar

What about in .NET 6? Do I need to do the same thing, download the latest version?

ADMIN
Dimitar
Posted on: 04 Apr 2023 13:44

Hello Jaydeep,

No, at least version 16.2.22.1109 or newer has to be used for Telerik Reporting to work as expected in .NET 7, there aren't any workarounds besides that I am afraid.

Regards,
Dimitar
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/.
Jaydeep
Posted on: 03 Apr 2023 14:56
Is there other way to solve this issue without downloading the latest version?
ADMIN
Dimitar
Posted on: 09 Nov 2022 14:00

Hello,

The issue has been resolved with the latest release - Telerik Reporting - ProgressĀ® TelerikĀ® Reporting R3 2022 SP1 16.2.22.1109.

Thank you for using Telerik Reporting!

Regards,
Dimitar
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/.
Iris
Posted on: 09 Nov 2022 12:31

Please fix this issue.

Thanks

Wayne Hiller
Posted on: 08 Nov 2022 22:58
I am getting this in the .Net 7 release version too.