System.OutOfMemoryException and Query Timeout Expired
Posted: Mon Apr 08, 2013 3:27 am
Hi,
I have a Stimulsoft report which is on SS2011.1.919 version.
The report can be run as a summary (in which case data are first inserted in to a Temporary table in Report Begin Render Event) or detail report(which uses Data sources directly).
My issue is When run for a large range of data
1. Summary gives Query Timeout Expired Error
2. Detail gives Exception of type 'System.OutOfMemoryException' was thrown Error.
How ever these queries run fine on SQL Server Management Studio, takes in average 5 minutes.
Could you please explain what can be causing these issues and why I do get different errors on the two scenarios?
What can I do to avoid the errors. Please note the report data sources Command Time out Property is already 6000.
Thanks
I have a Stimulsoft report which is on SS2011.1.919 version.
The report can be run as a summary (in which case data are first inserted in to a Temporary table in Report Begin Render Event) or detail report(which uses Data sources directly).
My issue is When run for a large range of data
1. Summary gives Query Timeout Expired Error
2. Detail gives Exception of type 'System.OutOfMemoryException' was thrown Error.
How ever these queries run fine on SQL Server Management Studio, takes in average 5 minutes.
Could you please explain what can be causing these issues and why I do get different errors on the two scenarios?
What can I do to avoid the errors. Please note the report data sources Command Time out Property is already 6000.
Thanks