我正在使用VB.net 4.5.2和Crystal Reports版本13_0_17 . 我无法在“CrystalReportViewer1.ReportSource = crClientReportDoc”之后跟踪该过程 .

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        strReportOption1 = Request.QueryString("strOption1")
        strReportOption2 = Request.QueryString("strOption2")
        strReportPath = Server.MapPath("ShareholderList.rpt")
        crClientReportDoc = clsRpt.fnProcessReport(strReportPath, strReportOption1, strReportOption2, Session("strSQL"), Session("strControlKey"))
        fnsetViewerProperties()
        CrystalReportViewer1.ReportSource = crClientReportDoc
    End Sub

每次加载Crystal报表时,大约需要2分钟 . 当我按下一页按钮时,将需要另外2分钟加载,但结果只有1行 .

有什么地方我可以检查Crystal Report上的问题导致页面加载花费那么长时间 . 此外,当我按下“下一页”时,需要很长时间再次加载 .

调试输出返回此

抛出异常:mscorlib.dll中的'System.Threading.ThreadAbortException'线程0x1868已退出,代码为0(0x0) . 线程0x30e8已退出,代码为0(0x0) . 线程0x2a88已退出,代码为0(0x0) . 抛出异常:System.Data.dll中的“System.Data.OleDb.OleDbException”