1

我正在尝试使用 Reporting Services 呈现报告。报告查看器 (rdlc) 未打开。设置参数时出现错误:

An error occurred during local report processing. Microsoft.ReportViewer.WebForms An error occurred during local report processing.
StackTrace:    at Microsoft.Reporting.WebForms.LocalReport.EnsureExecutionSession()
  at Microsoft.Reporting.WebForms.LocalReport.SetParameters(IEnumerable`1 parameters)
  at AV.certificado.Page_Load(Object sender, EventArgs e) in C:\AV\DEV\V1.0.0\V1.0.0\AV\AV\Proposta.aspx.cs:line 297

错误发生在第二行:

rpvProposta.LocalReport.ReportPath = MapPath("certificados/rptProposta2.rdlc");
rpvProposta.LocalReport.SetParameters(lstRptParameter);

我已经检查并且报告路径是有效的,并且已经验证了 IIS 上的权限。如果我直接调用它,我可以通过浏览器访问报告的 XML。

4

0 回答 0