The assembly "xxx" is not permitted to be used in an ObjectDataSource

3 posts, 0 answers
  1. Scott
    Scott avatar
    20 posts
    Member since:
    Aug 2011

    Posted 17 Oct Link to this post

    I get this after upgrading to the latest reporting DLL's from RC1. I know this is a breaking change according to the following:

    http://www.telerik.com/support/kb/reporting/details/telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component

    but I do not know where to put the information. I've tried the app.config, web.config but I still get the message. My project is using an HTML5 viewer in a .Net Core view and I just can't quite get it to work properly.

    Thank you for any assistance,

    Scott

  2. Stef
    Admin
    Stef avatar
    3047 posts

    Posted 18 Oct Link to this post

    Hello Scott,

    Custom configuration settings cannot be read from an XML config file, and JSON config files are not yet supported.

    Please modify the ReportsControllerBase implementation (the Reporting REST service) to use a custom resolver - an example of a custom resolver. Then you can set the data items' DataSource properties to directly instantiated data objects.

    A hack that can be tested is to add an APP.CONFIG (not a mistake) in the root of the project and the Telerik.Reporting section's declaration and content in it.

    Regards,
    Stef
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Scott
    Scott avatar
    20 posts
    Member since:
    Aug 2011

    Posted 18 Oct in reply to Stef Link to this post

    Thank you, Stef - with your information on the custom resolver I was able to get it to work.
Back to Top