Hi,
I have not been able to have a report display when the business object is located outside the report's class library project. I have added a reference to the business object's project, and the report designer allows me to set up a data source and view fields in the data explorer, but when I click on preview it says:
Error has been thrown by the target of an invocation.
------------------- InnerException ------------
Object reference not set to an instance of an object.
When I move the business object into the report library and hardcode its connection string, then it works. I notice that the sample app supplied by Telerik also has the business object in the report library. Is this a necessity, or can the business objects be in another project?
Thanks.
Ron
I have not been able to have a report display when the business object is located outside the report's class library project. I have added a reference to the business object's project, and the report designer allows me to set up a data source and view fields in the data explorer, but when I click on preview it says:
Error has been thrown by the target of an invocation.
------------------- InnerException ------------
Object reference not set to an instance of an object.
When I move the business object into the report library and hardcode its connection string, then it works. I notice that the sample app supplied by Telerik also has the business object in the report library. Is this a necessity, or can the business objects be in another project?
Thanks.
Ron