visual-studio-2010 - 在 Visual Studio 2010 中使用 MS SQL Server 2005 Reporting Services

标签 visual-studio-2010 sql-server-2005 reporting

在写这个问题时,我有一个简单的想法来解决这个问题。也许其他人也有同样的问题,或者您想对此发表评论,所以我还是发布了。

tldr/简化问题:
如何在 Visual Studio 2010 中使用 MS SQL Server 2005 Reporting Services?

解决方案:
只需在您的项目中复制 Visual Studio 2008 Reporting DLL 并将它们作为引用包含进来。我猜您在执行此操作时必须拥有 vss2008 的许可证,但从技术上讲,这可以解决问题。

原问题:

How can i use MS SQL Server 2005 Reporting Services in Visual Studio 2010? The reason i ask this is the following: We migrated to VSS 2010 as our IDE but are still using MS SQL Server 2005.

Now, i want to change a piece of code in a Project which makes use of Reporting Services on said SQL Server.

After converting the Solution to a VSS2010 Solution I get BuildErrors because it can't find the namespaces "ReportViewer" and "Reporting". That's because the references to

  • Microsoft.ReportViewer.Common (9.0.0.0)
  • Micrsofot.ReportViewer.WinForms (9.0.0.0)

Are no longer resolvable. So i have to replace them with the references to the same Assemblies in Version 10.0.0.0.

After doing that the Solution builds successfully, but when opening the ReportViewer i get an SoapVersionMismatchException telling me that for Remote-Processing i have to use Microsoft SQL Server 2008 Reporting Services or higher.

最佳答案

您需要将旧引用添加到您的项目中。您可以在 2005 报告服务器上找到它们。

这些可以在 GAC 中的报告服务器上找到。

关于visual-studio-2010 - 在 Visual Studio 2010 中使用 MS SQL Server 2005 Reporting Services,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7105848/

相关文章:

c# - 报告/监控长流程进度的设计模式

c++ - gl.h 中存在编译错误的 GL Studio 项目

visual-studio-2010 - 用于预览配置文件转换的工具

PHP 尝试使用计算机名而不是登录名登录 MSSQL(Windows 身份验证)

sql-server-2005 - 你能强制 Linq2SQL 不使用 sp_executesql 吗?

elasticsearch - Elastic Search是只读Api的良好数据存储吗?

c++继承 - 具有不同参数类型的相同方法名称

c++ - 基于 OpenCV C++ 光流的分割代码抛出异常

sql-server - SQL Server : COLLATE CS->CI performance vs UPPER

asp.net-mvc - 在 asp.net-mvc 中,在不影响其他用户的情况下进行昂贵操作的正确方法是什么?