RDLC报表 发布报错 100分
设计好RDLC报表后,使用ReportViewer呈现:
RDLC文件:A.rdlc/ Build action:嵌入资源/ Copy to Output:不拷贝
ReportViewer:LocalReport.ReportPath=Reports\A.rdlc 其余都是默认设置
当我发布到远程服务器上 发现运行报表报错 所以我上网查了下 找到如下办法:
1.并运行ReportViewer.exe
2.尝试在bin目录下 增加:
Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.ProcessingObjectModel.dll
Microsoft.ReportViewer.WebForms.dll
但是到目前为止 问题依旧 还是无法运行 但是在本地 使用VS2008 是可以运行的 以下是报错信息:
“/Reports”应用程序中的服务器错误。
分析配置文件时出错。缺少 ReportServerVirtualDirectory 元素。
请问是什么原因造成的 如何修改呢?