When using an ObjectDataSource in the standalone report designer I am unable to preview the report. When I click the preview button I get an error that reads:
"An error occurred while invoking data retrieval method.
Exception has been thrown by the target of an invocation.
Object reference not set to an instance of an object."
The report works correctly and renders fine when running it through our application, but refuses to preview from the designer even though all design work, data source creation etc has been done through the designer.
We were intending to allow users to edit the reports themselves, certainly to change style and/or formatting, but this will not be possible without the ability to preview the reports. We don't want to have to force the end user to have to run the report through our application every time they want to see a change to the styling etc, but this seems to be the only thing that works.
"An error occurred while invoking data retrieval method.
Exception has been thrown by the target of an invocation.
Object reference not set to an instance of an object."
The report works correctly and renders fine when running it through our application, but refuses to preview from the designer even though all design work, data source creation etc has been done through the designer.
We were intending to allow users to edit the reports themselves, certainly to change style and/or formatting, but this will not be possible without the ability to preview the reports. We don't want to have to force the end user to have to run the report through our application every time they want to see a change to the styling etc, but this seems to be the only thing that works.