EntityDataSource in another assembly

2 posts, 0 answers
  1. Alexander
    Alexander avatar
    1 posts
    Member since:
    Dec 2017

    Posted 22 Jan 2018 Link to this post

    I am attempting to add an EntityDataSource for a DbContext that lives in an assembly outside of the one the report resides in.

    I get the following error during the "Choose a context (DbContext or ObjectContext)" step of the wizard:

    "Unable to resolve the context. Try to restart Visual Studio and check you data model".

    Is it possible to add an EntityDataSource for a context in another assembly?

  2. Todor
    Admin
    Todor avatar
    321 posts

    Posted 25 Jan 2018 Link to this post

    Hi Alexander,

    Yes, it is possible to use a Db Context from different assembly for a Telerik Reporting EntityDataSource.
    However, there are few issues that have been explained in the Unable to Preview a Report that Uses EntityDataSource forum thread.
    Note that although the Wizard is throwing an exception, the report could still be displayed correctly in a viewer (e.g. WinForms viewer).

    Regards,
    Todor
    Progress Telerik
    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
Back to Top