Skip to content

Commit

Permalink
Update binaryformatter-exception-after-upgrade-to-net5.md (#1575)
Browse files Browse the repository at this point in the history
  • Loading branch information
todorarabadzhiev authored Jan 2, 2025
1 parent 59f2bef commit 4a278fa
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: BinaryFormatter Serialization and Deserialization Are Disabled
description: "Learn why .NET 5 projects may throw the error 'BinaryFormatter serialization and deserialization are disabled within this application' and how to fix it."
description: "The error 'BinaryFormatter serialization and deserialization are disabled' indicates restricted use due to risks from unsafe data handling."
type: troubleshooting
page_title: Error related to disabled BinaryFormatter serialization in .NET 5
page_title: BinaryFormatter Serialization and Deserialization Are Disabled
slug: binaryformatter-exception-after-upgrade-to-net5
tags: .NET 5.0
ticketid: 1494918
Expand All @@ -18,12 +18,16 @@ res_type: kb
<td>Progress® Telerik® Reporting</td>
<td>Up to R3 2020</td>
</tr>
<tr>
<td>Target Framework</td>
<td>.NET 5.0</td>
</tr>
</tbody>
</table>

## Description

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

## Error Message

Expand All @@ -35,7 +39,7 @@ BinaryFormatter serialization and deserialization are disabled within this appli

## Solution

In the [Telerik Reporting R1 2021(15.0.21.120)](https://www.telerik.com/support/whats-new/reporting/release-history/progress-telerik-reporting-r1-2021-15-0-21-120) 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.
In the [Telerik Reporting R1 2021(15.0.21.120)](https://www.telerik.com/support/whats-new/reporting/release-history/progress-telerik-reporting-r1-2021-15-0-21-120) release, the issue is resolved. If you are using a previous version, we strongly recommend upgrading. If that's not possible, use the suggested workaround below to overcome the error stating "Binaryformatter serialization and deserialization are disabled within this application".

## Suggested Workarounds

Expand Down

0 comments on commit 4a278fa

Please sign in to comment.