Question

I have a simple ASP.NET web form with several ReportViewer controls running in local mode. Every time the page loads, each ReportViewer loads the report definition and also regenerates the dynamic expression_host assembly. This is obviously time consuming and will not scale very well. Is there any way to have the ReportViewer cache the report definition and the dynamic expression_host assemblies?

Was it helpful?

Solution 2

After trying a variety of methods, the best workaround to the issue so far has been to remove all code from within the report itself. After doing so, the request time has dramatically decreased.

OTHER TIPS

The problem is calling reset on the report viewr object. You will need to cache the report viewer.

Also call Clear on the report.localreport.dataset if you using objects as the data souce.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top