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

ObjectDataSource SecurityException

2 Answers 346 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wolfgang
Top achievements
Rank 1
Wolfgang asked on 30 Jul 2018, 04:10 PM

Hi,

I have upgraded to the Telerik Reporting R2 2018 SP1 (old version: prior to r3-2016).

Now I get an exception like:
System.Security.SecurityException: The assembly MyAssembly is not permitted to be used by an ObjectDataSource component. Please include it in an AssemblyReferences element in the Telerik.Reporting configuration section of your application configuration file.

(I am using ObjectDataSource).

I have added an entry as described in https://docs.telerik.com/reporting/objectdatasource#configuration

and in https://docs.telerik.com/reporting/standalone-report-designer-extending-configuration

to my app.config.

But the exception is still thrown.

Note: the standalone designer works fine after I have added a similar entry to its config file.

 

Thanks in advance

Wolfgang

2 Answers, 1 is accepted

Sort by
0
Wolfgang
Top achievements
Rank 1
answered on 30 Jul 2018, 04:29 PM

Update:

I have forgotten to add a second assembly (referenced by the first one) to the app.config!

Sorrry.

Problem is solved!

Wolfgang

0
Wolfgang
Top achievements
Rank 1
answered on 30 Jul 2018, 04:30 PM
Update:

I have forgotten to add a second assembly (referenced by the first one) to the app.config!

Sorrry.

Problem is solved!

Wolfgang
Tags
General Discussions
Asked by
Wolfgang
Top achievements
Rank 1
Answers by
Wolfgang
Top achievements
Rank 1
Share this question
or