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

Sub Report Table NeedDatasource Event Handling

1 Answer 123 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Isaac
Top achievements
Rank 1
Isaac asked on 15 Nov 2011, 04:39 PM
I have a report with a List. The List has a Sub Report nested inside of it. The Sub Report has one Table. I set the NeedDatasource handler in the constructor of the Report with the List. So for each record in the datasource of the List, I pass a parameter to the Sub Report and load the data for the Table in the Sub report. 
   My problem is that everything is working fine in my development environment and I have tested my NeedDatasource Event handlers. When the website is moved to production I am seeing an error in the Sub Report Processing "An error has occurred while processing Table 'table1':
Object reference not set to an instance of an object." 

Is there any way to make the errors show up with a stack trace so I can figure out what is going on? Do I need to run the full Telerik Reports install on the production web server?

Any help you can provide would be great.

Sincerely, Isaac Koss.

1 Answer, 1 is accepted

Sort by
0
Squall
Top achievements
Rank 1
answered on 18 Nov 2011, 11:08 AM
Hi,
Is there a more detailed error in the server's event log. Another thing you can try is to handle the report error event and try to log more information.
SN
Tags
General Discussions
Asked by
Isaac
Top achievements
Rank 1
Answers by
Squall
Top achievements
Rank 1
Share this question
or