Reporting and .Net 9 RC2

1 Answer 6 Views
.NET Core Report Viewer - ASP.NET
René
Top achievements
Rank 2
René asked on 06 Nov 2024, 05:54 AM

Hi, I have a question - is the latest version of reporting working with .Net 9 RC2? Based on https://www.telerik.com/support/whats-new/reporting#compatibility-with-_net-9-preview it should be ok. Or not?

I switched our application to .Net RC 2 and all our PDF reports ends with errors. No report is rendered. All errors are about resources like:

"The expression contains object 'ResourcesInfo' that is not defined in the current context"

Tested verion of Telerik.Reporting.Services.AspNetCore is 18.2.24.924.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 08 Nov 2024, 01:53 PM

Hello,

The .NET 9 RC2 version was released in October - .NET 9 Release Candidate 2 is now available! - .NET Blog after the latest available version at the current - ProgressĀ® TelerikĀ® Reporting 2024 Q3 (18.2.24.924) so that version was not tested with .NET 9 RC2.

With that being said, the Q4 2024 release of Reporting coming out next week is being tested with .NET 9 RC2 and so far - it is working as expected.

The exception that you are seeing is unlikely to be as a result of the .NET version used in the project. Rather, it seems that there is an expression in the report trying to use an object/field/function that is not defined in the current context.

Do you use any custom types in the reports via the ObjectDataSource component or custom functions? If yes, please make sure that they are defined in the configuration of the project - typeReferences Element Configuration - Telerik Reporting.

If you are rendering the reports with the ReportProcessor class, please note that there is an issue when custom types are used - ReportProcessor does not respect the IConfiguration sent through its constructor. The issue will be fixed with the next release coming out next week.

If you need further assistance, please send me a runnable project where the issue is reproducible so that I can debug it locally.

Regards,
Dimitar
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
.NET Core Report Viewer - ASP.NET
Asked by
René
Top achievements
Rank 2
Answers by
Dimitar
Telerik team
Share this question
or