Microsoft Reporting v.10 加载问题
我试图在我的 vs studio 网站中引用 microsoft reporting v.10.0.0.0。由于某种原因,它无法实现这一点,因为它总是给我一个编译错误,表明它无法加载类型。
错误 2625 无法从程序集“Microsoft.ReportViewer.Common,Version=10.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a”加载类型“Microsoft.Reporting.RdlBuildProvider”,
我认为这可能是原因之一从 9.0.0.0 移动到 10.0.0.0,此后它不起作用。
有什么建议吗?
多谢!
I am trying to reference microsoft reporting v.10.0.0.0 in my vs studio web site. For some reason it can't achieve that as it is always giving me a compile error that it could not load the type.
Error 2625 Could not load type 'Microsoft.Reporting.RdlBuildProvider' from assembly 'Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
One thing that I think it might be a cause is that I had moved from 9.0.0.0 to 10.0.0.0 and after that it does not work.
Any suggestions?
Thanks a lot!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
将所有引用从版本 8 或 9 替换为 10 后(在 webconfig 以及您的 asp.net 页面中。在 web.Config 文件中,您必须将以下行更改为
Update
您还必须将所有其他参考号从 9.0.0 更新为 10.0.0
After replacing all ofthe references from version 8 or 9 to 10 (in webconfig and also in your asp.net pages. In web.Config file you have to change the following line from
to
Update
You also have to update all of the other reference Number from 9.0.0 to 10.0.0
RdlBuildProvider 在版本 10 中已移至 Webforms,这在之前很常见
RdlBuildProvider has been moved to Webforms in version 10, which used to be in common earlier
添加此内容以提供完整的答案。
请注意,v8 和 v10 的密钥令牌相同。另外,正如 Madhu 所说,请注意 Microsoft.Reporting.RdlBuildProvider 已从 Common 移至 Webforms,如 buildProviders< 中所示/em> 部分。
Adding this to provide a complete answer.
Notice that the key token is the same for v8 and v10. Also, as Madhu said, note that Microsoft.Reporting.RdlBuildProvider has been moved from Common to Webforms as shown in the buildProviders section.
这解决了我的问题:
http ://social.msdn.microsoft.com/Forums/en-US/vsreportcontrols/thread/8287e1cd-767e-463c-8cb0-60c275fe5ed6
This solved my issue:
http://social.msdn.microsoft.com/Forums/en-US/vsreportcontrols/thread/8287e1cd-767e-463c-8cb0-60c275fe5ed6