I am showing SSRS report(rdl) file in ASP.net report viewer and want to load/render fast or at least equal time to SSRS Server.
Currently, it is taking more time(10 to 15 sec) as compare to SSRS Server(1 or 2 sec) with all reports (10).
I am working on MVC and loading aspx page in ifram to showing reprot. i use this code. http://www.codeproject.com/Articles/607382/Running-a-RDL-RDLC-SQL-Report-in-ASP-NET-without-S?msg=5300845#xx5300845xx
For testing purpose, i made the sample asp.net project for showing report but the time is same.
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ReportViewer1.ProcessingMode = ProcessingMode.Local;
ReportViewer1.LocalReport.ReportPath = Server.MapPath("~/SummaryNewTest.rdl");
ReportDataSource rptDS1 = new ReportDataSource("ReportingDataSource", getResultAsDataTable("select * from Table1"));
ReportDataSource rptDS2 = new ReportDataSource("ReportingDataSourcePrevDay", getResultAsDataTable("select * from Table2"));
ReportViewer1.LocalReport.DataSources.Clear();
ReportViewer1.LocalReport.DataSources.Add(rptDS1);
ReportViewer1.LocalReport.DataSources.Add(rptDS2);
}
}
I made on testing project using ReportViewerForMvc but the time is same for report redering.
I will appropriate, if anyone can give any solution.