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

EntityDataSource in another assembly

1 Answer 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 22 Jan 2018, 06:41 PM

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?

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 25 Jan 2018, 05:01 PM
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
Tags
General Discussions
Asked by
Alexander
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or