Error {"message":"An error has occurred.","exceptionMessage":"Type: Telerik.Reporting.ReportSerialization.V4_0.ReportSerializable`1[Telerik.Reporting.Report]","exceptionType":null,"stackTrace":null}

0 Answers 235 Views
.NET Core Report Viewer - HTML5 Rest Service
Mauricio Noguera
Top achievements
Rank 2
Mauricio Noguera asked on 23 Sep 2022, 06:26 PM

Hello EveryBody,

I have an mvc aplication in .netcore6 where i´m implementing a telerik reporting 2022 reportviewer´s, but when testing it on a linux machine the report generates this error:

 {"message":"An error has occurred.","exceptionMessage":"Type: Telerik.Reporting.ReportSerialization.V4_0.ReportSerializable`1[Telerik.Reporting.Report]","exceptionType":null,"stackTrace":null}

It is the response when the reportviewer consult the parameters of the report.

this error does not occur in windows machine

 

This error occurs when add several mvc controllers to my project,

 

Help me!

Neli
Telerik team
commented on 28 Sep 2022, 10:28 AM

Hi Mauricio,

I would recommend testing solution #4 from the Unable to get report parameters - Report reportName cannot be resolved KB article.

Please, give this a try and let me know how it goes.

Alex Thomas
Top achievements
Rank 1
commented on 26 Oct 2023, 06:12 AM

Hello Mauricio,

Were you able to solve this issue? I have the same issue. 

Thanks

Dimitar
Telerik team
commented on 30 Oct 2023, 01:58 PM

Hello Alex,

The error message could indicate that the libgdiplus library is not installed on the system, please have a look at Deploying on Linux for details on how to install the necessary libraries.

Additionally, if your project also targets .NET 6, you will need to apply the workaround from the System.Drawing.Common is not supported on non-Windows platforms starting with .NET 6 - Telerik Reporting KB article.

In case that does not help, please attach a trace listener to the project and send the log here so that I may have a look at it - How to troubleshoot errors in ASP.NET Core projects - Telerik Reporting.

No answers yet. Maybe you can help?

Tags
.NET Core Report Viewer - HTML5 Rest Service
Asked by
Mauricio Noguera
Top achievements
Rank 2
Share this question
or