【.Net码农】【RDLC】【Error】an error ocurred during local report processing
来源:互联网 发布:linux下编译c程序 编辑:程序博客网 时间:2024/05/21 22:25
an error ocurred during local report processing
项目中包含报表文件,本地运行没问题,发布后出现如题的错误。解决办法:
1.确保报表文件(后缀.rdlf)包含在发布文件中。vs2012在发布时默认不会包含报表文件,所以你需要如下操作,右键报表文件--》属性--》将生成操作改成“内容”。这样在发布时就能包含了,如下图:
2.拷贝三个dll:
Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.WebForms.dll
Microsoft.ReportViewer.ProcessingObjectModel.dll
其中,第一个和第二个可以在项目中直接添加引用,引用后右键属性,将“复制到本地”设置成true,这样就添加到了项目中。第三个有些复杂,它需要运行在GAC中,不能像其他两个一样直接操作。微软也意识到了这一点,就专门制作了一个安装包,安装后直接把第三个安装到了GAC中。因为我的版本是vs2010,所以提供2010版的下载链接:点击这里 。其他版本的下载地址可以该页面的下方的“相关资源”链接中找到。
至此,应该可以解决99%的问题,但是我在寻找答案的过程中发现该方法可解决不了。如果有问题给我留言吧!Good Luck!
分类: 我的.net
标签: error, local report, rdlf
绿色通道: 好文要顶关注我 收藏该文与我联系
0 0
- 【.Net码农】【RDLC】【Error】an error ocurred during local report processing
- an error ocurred during local report processing
- rdlc报表An error occurred during local report processing错误
- 解决rdlc报错 An error occurred during local report processing
- [tfs] report issue: An error has occurred during report processing.
- An error occurred during local report processing.Failed to load expression host assembly. Details: Request for the permission of
- An internal error occurred during: "Processing Dirty Regions"
- OpenVPN:an error ocurred installing TAP device解决方法
- The server has encountered an error while loading an application during the processing of your reque
- The server has encountered an error while loading an application during the processing of your reque
- An error occurred during decryption
- An internal error occurred during
- 严重: An exception or error occurred in the container during the request processing
- MyEclipse An internal error occurred during: "Processing Dirty Regions". 问题处理方法
- My Eclipse 错误求助 An internal error occurred during: "Processing Dirty Regions".
- 3DSlicer25:Report an Error
- an error occurred while processing the directive
- An internal error occurred during: "Generating Artifacts"
- HDOJ 1016 Prime Ring Problem ( 素数环 && DFS)
- STL Mutating Algorithms小结
- Maven学习 (四) 使用Nexus搭建Maven私服
- 关于SHA256加密
- mysql数据库优化之表的设计和慢查询定位
- 【.Net码农】【RDLC】【Error】an error ocurred during local report processing
- UML类图中的箭头方向
- checkbox 选中和取消切换问题
- LightOJ Sigma Function 1336【打表+规律】
- .Net 机器学习资源,你有想要的么
- couchbase 单节点挂掉
- 杭电 1248 寒冰王座(flyod)
- HDU 1864 最大报销额
- [hive]InvalidObjectException(message:Role admin already exists.)