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?
R – ASP.NET ReportViewer local mode performance (expression_host regeneration)
asp.netreportviewer
Related Topic
- ReportViewer (remote mode) in VS 2008 and ReportingService Server 2008 not possible
- C# – The breakpoint will not currently be hit. No symbols have been loaded for this document in a Silverlight application
- C# – How to troubleshoot VS 2010 ASP.Net ReportViewer HttpHandler registration errors
- Disable paging on an ASP.Net ReportViewer Control
- Reportviewer – Prompt for parameters in local mode
- ASP.NET ReportViewer very slow in local mode
Best Answer
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.