I have Telerik Reporting internal build 6.0.12.504 but this also applies to the release build 6.0.12.215. I have VS 2010 and .NET 4.0.
The report works fine at run-time but in the report designer when I click on the Preview tab I get the following error in red:
An error has occurred while processing Report 'Report1'.
An error has occurred while invoking data retrieval method. Try restarting Visual Studio.
---- Inner Exception -------
Exception has been thrown by the target of an invocation.
---- Inner Exception -------
No connection string by the name of 'MyContext' could be found in the application config file.
For my report I am using an ObjectDataSource that uses Entity Framework to retrieve data. In fact, I do have a connection string named 'MyContext' in the "app.config" file in my Reports project where the report designs, and report objects are. Am I seeing this error because Preview is not available when using an ObjectDataSource?
A related question: is there a way to see the report data when in the report designer?
The report works fine at run-time but in the report designer when I click on the Preview tab I get the following error in red:
An error has occurred while processing Report 'Report1'.
An error has occurred while invoking data retrieval method. Try restarting Visual Studio.
---- Inner Exception -------
Exception has been thrown by the target of an invocation.
---- Inner Exception -------
No connection string by the name of 'MyContext' could be found in the application config file.
For my report I am using an ObjectDataSource that uses Entity Framework to retrieve data. In fact, I do have a connection string named 'MyContext' in the "app.config" file in my Reports project where the report designs, and report objects are. Am I seeing this error because Preview is not available when using an ObjectDataSource?
A related question: is there a way to see the report data when in the report designer?