问题:
“An error occurred during local report processing.
The definition of the report 'Main Report' is invalid.
An unexpected error occurred in Report Processing.
未能加载文件或程序集“Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。系统找不到指定的文件。”
The definition of the report 'Main Report' is invalid.
An unexpected error occurred in Report Processing.
未能加载文件或程序集“Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。系统找不到指定的文件。”
第一步:找到以下2个dll文件:
1) Microsoft.ReportViewer.Common.dll
2) Microsoft.ReportViewer.WebForms.dll
这两个都可以在D:\Program Files\Microsoft Visual Studio 2010\ReportViewer 中找到。
第二步:
找到你机器上的 ReportViewer.exe和ReportViewerLP.exe安装到客户服务器端就可以了。
第三步:
看你的IIS是否添加axd文件映射。
第四步:
看你的IIS的应用程序池中是否存在ReportServer,
如果存在,把你的项目的网站属性里的应用程序池改成ReportServer。
经过这几个步骤,我们的项目终于发布成功啦!
1) Microsoft.ReportViewer.Common.dll
2) Microsoft.ReportViewer.WebForms.dll
这两个都可以在D:\Program Files\Microsoft Visual Studio 2010\ReportViewer 中找到。
第二步:
找到你机器上的 ReportViewer.exe和ReportViewerLP.exe安装到客户服务器端就可以了。
第三步:
看你的IIS是否添加axd文件映射。
第四步:
看你的IIS的应用程序池中是否存在ReportServer,
如果存在,把你的项目的网站属性里的应用程序池改成ReportServer。
经过这几个步骤,我们的项目终于发布成功啦!
解决IIS部署报告查看器错误
本文解决了在IIS上部署应用时遇到的“未能加载文件或程序集‘Microsoft.ReportViewer.ProcessingObjectModel’”的问题。通过安装特定DLL文件、配置ReportViewer.exe和设置IIS应用程序池及axd文件映射,最终成功部署。
6714

被折叠的 条评论
为什么被折叠?



