在Windows 10上使用VS 2010的Crystal Reports 10 [英] Crystal Reports 10 with VS 2010 on Windows 10

查看:66
本文介绍了在Windows 10上使用VS 2010的Crystal Reports 10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在搬到我工作的新笔记本电脑。 我们的网络工程师安装了VS 2010.我的旧笔记本电脑运行的是Windows 7,我们正在使用Crystal Reports 10和VS 2010来开发报告,它工作正常。 新的笔记本电脑使用Windows
10.在我的新笔记本电脑上,我首先注意到SAP BusinessObjects丢失了。 所以我从旧笔记本电脑中复制了整个文件夹和子文件夹。 我们的报告使用以下DLL引用:

I'm currently moving to a new laptop where I work.  Our network engineer installed VS 2010. My old laptop is running Windows 7 and we are using Crystal Reports 10 with VS 2010 to develop reports and it works fine.  The new laptop is using Windows 10. On my new laptop I first noticed that SAP BusinessObjects was missing.  So I copied the entire folder and sub folders from my old laptop.  Our reports use the following DLL references:

CrystalDecisions.CrystalReports.Engine

CrystalDecisions.CrystalReports.Engine

CrystalDecisions.ReportSource

CrystalDecisions.ReportSource

CrystalDecisions .Shared

CrystalDecisions.Shared

一旦我复制了SAP BusinessObjects,就找到了上面的DLL引用,一切看起来都很好并且编译了程序。 当我运行该程序时,自动生成的代码在此处失败:

Once I copied the SAP BusinessObjects the above DLL references were found and everything looked good and the program compiled.  When I run the program, the code behind, which is auto-generated fails here:

Public Sub New()

        MyBase.New

    End Sub

Public Sub New()
        MyBase.New
    End Sub

我得到的错误是 CrystalDecisions.CrystalReports.Engine.ReportDocument的类型初始化程序引发了异常。

由于这是来自自动生成的报告代码,而不是我们写的任何内容,我不明白为什么会发生这种情况。 除操作系统外,有关报告程序的所有内容都是相同的。在编译选项中,我使用x86 for
目标CPU和.NET Framework 4。 我也试过x64和AnyCPU无济于事。 这些是我们在Windows 7环境中使用的相同选项。 我已经在互联网上试图寻找答案而且已经空了。 
任何帮助将不胜感激。

Since this is coming from the auto-generated report code and not nothing we wrote, I don't understand why this is happening.  Other than the operating system everything regarding the report program is the same. In the compile options I'm using x86 for the Target CPU and .NET Framework 4.  I've also tried x64 and AnyCPU to no avail.  These are the same options we're using on the Windows 7 environment.  I have scoured the Internet trying to find an answer and have been coming up empty.  Any help would be greatly appreciated.

推荐答案

嗨Stephen,

Hi Stephen,

欢迎来到MSDN论坛。

Welcome to the MSDN forum.

请参阅说明,此问题是关于Crystal Reports for Visual Studio的第三方软件,因为我们的论坛是讨论VS IDE,请重定向到
这个适当的论坛寻求更专业的支持,谢谢你的理解。

Refer to the description, this issue is about the Crystal Reports for Visual Studio which is a third party software, since our forum is to discuss the VS IDE, please redirect to this appropriate forum to seek for a more professional support, thank you for your understanding.

祝你好运,

Sara


这篇关于在Windows 10上使用VS 2010的Crystal Reports 10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆