New to Telerik Reporting? Download free 30-day trial

BinaryFormatter Serialization and Deserialization Are Disabled


Product Progress® Telerik® Reporting Up to R3 2020


The following error might be thrown after upgrade to .NET 5 from .NET Core or Blazor Projects.

Error Message

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


In the Telerik Reporting R1 2021( release, the issue is resolved. If you are using a previous version, we strongly recommend upgrading. If that's not possible, you can use the suggested workaround below.

Suggested Workarounds

Add the following lines of code to the csproj file:

In this article