vs2010 托管 ReportViewer 报告的问题
我在 vs2010 中遇到一个报告问题:
本地报告处理期间发生错误。 报告“Report1.rdlc”的定义无效。 报表处理中发生意外错误。 无法加载文件或程序集“Microsoft.ReportViewer.ProcessingObjectModel,Version=10.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a”或其依赖项之一。系统找不到指定的文件。
我已将其他 reportviewer dll 添加到垃圾箱中,但我很难找到这个。
如果有人有这方面的经验的话,我正在使用 cyberyhost pro 进行托管。
报告也处于本地模式。
我试图从reportviewer可分发设置中提取dll,但我不知道我在做什么:)并且惨败。
提前致谢 罗杰
I am having a prob with a report in vs2010:
An error occurred during local report processing.
The definition of the report 'Report1.rdlc' is invalid.
An unexpected error occurred in Report Processing.
Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
I have added the other reportviewer dlls to the bin but I am struggling to find this one.
I am hosting with cyberyhost pro if anybody has experience of that.
Also reports are in local mode.
I have tried to extract the dll from the reportviewer distributable setup but I dont know what I am doing :) and failed miserably.
Thanks in advance
Roger
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我发现网络主机需要在服务器上安装reportviewer。我根本不抱希望自己能解决这个问题。
不过还是谢谢你的意见。
I turns out that cyberhost needed to install reportviewer on the server. I didnt have a hope in hell of fixing this problem myself.
Thanks for the views though.
我能够在程序集缓存中找到该 DLL。
打开添加引用并导航至:
(Windows/程序集/Microsoft.ReportViewer.ProcessingObjectModel)。
选择以 10.0.0.0 开头的文件夹,然后选择 DLL。
I was able to find the DLL in the assembly cache.
Open Add Reference and navigate to:
(Windows/assembly/Microsoft.ReportViewer.ProcessingObjectModel).
Choose the folder that starts with 10.0.0.0 and select the DLL.