gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 06:44:37 27 4
gpt4 key购买 nike

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

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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com