报表查看器控件 Visual Studio 2010
我试图在 VS 2010 中创建链接 SQL Server 2005 Report Server Reports,但收到错误“远程报表处理需要 Microsoft SQL Server 2008 Reporting Services 或更高版本”。如何将控件降级为 2008 年的控件?
I am trying to create link SQL Server 2005 Report Server Reports in VS 2010 and I get an error "Remote Report Processing requires Microsoft SQL Server 2008 Reporting Services or later". How do i downgrade the control to the one from 2008?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不幸的是,我知道如何解决这个问题的唯一方法是使用旧版本的 Visual Studio 进行此类开发。但解决方案并不多。
Unfortunately, the only way I know how to get around this is to use an older version of Visual Studio for this type of development. Not much of a solution though.
您必须使用 2005 版的报表查看器控件。不幸的是,MS 不允许在 2010 年使用此功能。可能有比“让你升级到 2008”更好的技术相关原因,但这就是我对此的感受。
但是,您需要克服一些困难:
另请记住,报表查看器控件有多个版本:
- v8.0 = VS 2005、VS 2008、SQL 2005
- v9.0 = VS 2008、SQL 2008
- v9.X = VS 2008、VS 2010、SQL 2008 R2
- v10 = VS 2010、SQL 2008 R2
希望这对您有帮助。
You will have to use the 2005 version of the report viewer control. Unfortunately MS doesn't allow this to be used in 2010. There's probably a better technology-related reason than "Make you upgrade to 2008", but that's how I feel about this.
However, You have some hoops to jump through:
Also keep in mind that there are several versions of the Report Viewer control out there:
- v8.0 = VS 2005, VS 2008, SQL 2005
- v9.0 = VS 2008, SQL 2008
- v9.X = VS 2008, VS 2010, SQL 2008 R2
- v10 = VS 2010, SQL 2008 R2
Hope this helps you.