我正在尝试在Web应用程序中使用Microsoft Reporting Services查看Hello world
报告。我必须在WebForm中使用ServerMode for Microsoft ReportViewer吗?
我将创建的报告在查看时总是会刷新(即没有保存的数据),所以我没有理由使用报告管理器。
我想将rdlc
文件包含在我的web应用程序本身中,我将拥有一个承载ReportViewer
的aspx
页面。
我试过这个希望Local
也可能意味着本地的Web应用程序...
ReportViewer1.ProcessingMode = ProcessingMode.Local;
ReportViewer1.LocalReport.ReportPath = "~/Reporting/Hello World.rdlc";
ReportViewer1.LocalReport.Refresh();
但是,这似乎并不如此。当我查看我的页面时,出现以下错误。本地报表工艺加工报表定义 的报告过程中出现
错误“d:[本地路径到我的web应用程序 源] \〜/报告/你好World.rdlc”尚未指定莫非不 找到部分路径'D:[我的web应用程序的本地路径 源] \〜\ Reporting \ Hello World.rdlc'。