Report error with .Core

1 Answer 334 Views
.NET Core Report Parameters Report Viewer - HTML5
Miro
Top achievements
Rank 1
Iron
Iron
Miro asked on 09 Jun 2021, 12:22 PM

I have attached the error of the code while trying to integrate it into Core. Image of Report 1 &2 is the actual code, and Error image 3, 4, 5 is the result of the code error.

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 10 Jun 2021, 02:06 PM

Hello Amr,

I am sorry to hear about the encountered error and will help you resolve it. 

Based on my experience with other clients that encountered similar issue, it might be caused by some troubles with the assembly references. For example, if the Telerik Reporting assemblies are referred locally, instead as Nuget packages. Please check the following KB articles that are related to the 'The type initializer for Telerik.Reporting.Cache.Lock threw an exception' error.

- ASP.NET Core project throws 'The type initializer for Telerik.Reporting.Cache.Lock threw an exception'
- The type initializer for Lock threw an exception error in HTML5 viewer in ASP.NET Core application

In case the above suggestions do not help you resolve the issue, please let me know and share a runnable project that reproduces it. 

Regards,
Plamen Mitrev
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/.
Miro
Top achievements
Rank 1
Iron
Iron
commented on 11 Jun 2021, 02:04 AM

Thanks Plamen, it's all good now :)
Tags
.NET Core Report Parameters Report Viewer - HTML5
Asked by
Miro
Top achievements
Rank 1
Iron
Iron
Answers by
Plamen Mitrev
Telerik team
Share this question
or