ObjectDataSource SecurityException

3 posts, 0 answers
  1. Wolfgang
    Wolfgang avatar
    5 posts
    Member since:
    May 2013

    Posted 30 Jul Link to this post

    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. Wolfgang
    Wolfgang avatar
    5 posts
    Member since:
    May 2013

    Posted 30 Jul in reply to Wolfgang Link to this post

    Update:

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

    Sorrry.

    Problem is solved!

    Wolfgang

  3. Wolfgang
    Wolfgang avatar
    5 posts
    Member since:
    May 2013

    Posted 30 Jul in reply to Wolfgang Link to this post

    Update:

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

    Sorrry.

    Problem is solved!

    Wolfgang
Back to Top