ASP.netレポートビューアにSSRSレポート(rdl)ファイルが表示されていて、高速または少なくとも同等SSRSサーバーへの時刻。SSRSレポートビューアでSSRSレポート(.rdl)ファイルのレンダリングが遅くSSRSサーバーから高速に実行される
現在、すべてのレポート(10)でSSRSサーバー(1または2秒)に比べて時間がかかります(10〜15秒)。
私はMVCに取り組んでおり、iframにaspxページを読み込んでreprotを表示しています。 私はこのコードを使用します。 http://www.codeproject.com/Articles/607382/Running-a-RDL-RDLC-SQL-Report-in-ASP-NET-without-S?msg=5300845#xx5300845xx
テスト目的のために、レポートを表示するためのサンプルasp.netプロジェクトを作成しましたが、時間は同じです。
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);
}
}
ReportViewerForMvcを使用したテストプロジェクトで作成しましたが、レポートの再構築の時間は同じです。
誰かが解決策を提示できるのであれば、私は適切です。