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

exception has been thrown by the target of an invocation report in telerik when add datasource

1 Answer 226 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tejas
Top achievements
Rank 1
Tejas asked on 16 Jun 2011, 06:58 PM
I am trying to my first telerik report and when trying to add datasource on report I am getting error says "Exception has been thrown by the target of an invocation "

I am using entity data source.
I chanaged procedure 10 times with diffrent conditions and finllay I return dummy row but still same error. It works for other procedure ...

I do not undestand what is the issue.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 20 Jun 2011, 04:18 PM
Hi Tejas,

Currently when EntityDataSource component is used the EF Model should be located in a separate class library in order for the report designer and the report wizards to work properly. Additionally you will have to copy the connection string to the App.config file of the report class library, so that Entity Framework can find your database at design-time.

This limitation is caused by Visual Studio Type.GetType and we have to further investigate the issue and undertake appropriate actions.

Please excuse us for the temporary inconvenience.

Kind regards,
Peter
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Tejas
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or