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

AspNetCore 5 Support

3 Answers 232 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Iris
Top achievements
Rank 1
Iris asked on 12 Nov 2020, 08:36 AM

Hello,

 

I have recently upgrade my project to AspNetCore5 and the Reporting Viewer stops working with this error:

Error registering the viewer with the service.
An error has occurred.
BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information.

When is planned to upgrade AspnetCore Reporting to suppor v5?

 

Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 13 Nov 2020, 08:29 AM

Hello Iris,

I am sorry to hear that you experience such a problem after upgrading.

We are currently working on building and distributing our packages built against  .NET 5. They are expected to be available in the R1 2021 Release of Reporting that is coming in the middle of January. 

As we have an existing feature request on that same topic, I will kindly ask you to add your vote for that item. In this way, you will receive a notification when the feature is released.

I have performed research in our database and it seems that one of our customers experienced the same issue after upgrading to .NET 5. The following approach helped in resolving the problem. Please, test to add this line of code to the project file:

<PropertyGroup>
    <TargetFramework>net5.0</TargetFramework>
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
</PropertyGroup>

You can also check Remove BinaryFormatter from the shared framework in .NET 5 thread for further information. 

I hope this helps you. If you have any further questions don't hesitate to ask.

Regards, Dimitar Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Iris
Top achievements
Rank 1
answered on 13 Nov 2020, 12:20 PM

Helo Dimitar,

Ok, thanks, now is working with Core 5. When telerik publish the new version i will remove that line.

 

Many Thanks.

0
perico
Top achievements
Rank 1
Iron
answered on 07 Dec 2022, 02:34 PM | edited on 07 Dec 2022, 03:56 PM

Hello, 

I have this problem with .NET 7.0 and telerik reporting 16.2.22.1109

 

How can i fix it ?

 

Edit : Ok i  think i found the solution

As a down-side, the report item designers are not .NET Standard-compatible. As a result, no design-time support in Visual Studio is available and type reports are not supported. Therefore, you are recommended to convert such reports to .trdx or .trdp definitions with the Standalone Report Designer.

 

I'll try with trpd

 

Edit2: It works :)

 

Tags
General Discussions
Asked by
Iris
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Iris
Top achievements
Rank 1
perico
Top achievements
Rank 1
Iron
Share this question
or