Skip to content

Commit b2a94fa

Browse files
Update resolving-cannot-redefine-property-error-telerik-reporting.md (#1700)
* Update resolving-cannot-redefine-property-error-telerik-reporting.md * Update resolve-userreportbook-loading-exception.md
1 parent ddcfb78 commit b2a94fa

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

knowledge-base/resolve-userreportbook-loading-exception.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The issue is due to type restriction changes introduced in Telerik Reporting ver
3434

3535
## Error Message
3636

37-
```
37+
````
3838
Telerik.Reporting.Utils.TypePermissionException: The type "Telerik.Reporting.UserReportBook" contained in assembly "Telerik.Reporting, Version=18.2.24.924, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" cannot be loaded.
3939
To help improve the application's security, the reporting engine prevents loading types that are not essentially needed or listed as trusted by the user. If you consider particular types or assemblies as trusted include them in the corresponding TypeReferences or AssemblyReferences element of the 'Telerik.Reporting' configuration section in the application's configuration file.
4040
at Telerik.Reporting.TypeValidation.TypeValidator.ValidateSerializationType(Type type)
@@ -53,7 +53,8 @@ To help improve the application's security, the reporting engine prevents loadin
5353
at Telerik.ReportDesigner.Packages.ReportDesigner.Serialization.PackageDocDataHandler.UploadReportDocument(IDesignerLoaderHost targetHost)
5454
at Telerik.ReportDesigner.Packages.ReportDesigner.Serialization.DocData.UploadReportDocument(IDesignerLoaderHost host)
5555
at Telerik.ReportDesigner.Packages.ReportDesigner.Serialization.ReportDocumentDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
56-
```
56+
````
57+
5758

5859
## Solution
5960

@@ -86,7 +87,7 @@ To resolve this issue and use Report Books with version `18.2.24.924`, register
8687

8788
This configuration explicitly declares the `Telerik.Reporting.UserReportBook` type as trusted, allowing the Telerik Reporting engine to load it without triggering the security exception.
8889

89-
> If the exception occurs when opening the Report Book within the Standalone Report Designer, register the type in its `.config` file which is in the same directory as the executable.
90+
> If the exception occurs when opening the Report Book within the Standalone Report Designer, register the type in its `.config` file, which is in the same directory as the executable.
9091
9192
## See Also
9293

knowledge-base/resolving-cannot-redefine-property-error-telerik-reporting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Resolving "Cannot redefine property" Error
3-
description: Learn how to resolve the "Cannot redefine property: __COMPONENT__" error when opening multiple report viewers in version 19.1.25.521.
3+
description: "Learn how to resolve the 'Cannot redefine property: __COMPONENT__' error when opening multiple report viewers in version 19.1.25.521."
44
type: how-to
55
page_title: Fixing Report Viewer Component Error
66
slug: resolving-cannot-redefine-property-error-telerik-reporting

0 commit comments

Comments
 (0)