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

EF and Reports in different projects?

1 Answer 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Linus
Top achievements
Rank 1
Linus asked on 29 Dec 2011, 01:32 AM
Hi.
I'm having problem using the report guide because i can not find referenced EF (it's in another project).
I have two project, one with my EF data model, and another project with my reports.
I have made a reference of the EF project into my report project, byt when i run the report wizard, i can not add/find my model.
So how can this be done? How can i have separate project for my EF model and for my reports?

BR
Linus

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 29 Dec 2011, 08:51 AM
Hi,

Generally in order to use Report Designer and Report Wizard the Entity Data Model should be located in a separate project. After you have referenced the entity model class library our suggestion is to build the reports class library. Additionally make sure the connection string to the database is copied to the config file of the report class library. 

All the best,
Peter
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
General Discussions
Asked by
Linus
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or