【发布时间】:2016-09-09 05:35:01
【问题描述】:
我的应用程序不能在除我自己的计算机之外的任何计算机上运行。当我从计算机上的 bin 文件夹中打开 exe 时,它会显示报告,我可以毫无问题地运行它。但是,当我转到另一台计算机时,它崩溃并显示此错误:
Problem Event Name: CLR20r3
Problem Signature 01: CrystalTest.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 57d0272d
Problem Signature 04: CrystalDecisions.Shared
Problem Signature 05: 13.0.17.2096
Problem Signature 06: 576134be
Problem Signature 07: 69d
Problem Signature 08: 1
Problem Signature 09: System.TypeInitialization
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
我创建了一个新的 C# windows 窗体应用程序项目,将现有的 Crystal Report 添加为 New Item,向窗体添加了 CrystalReportViewer,并添加了以下代码:
private void crystalReportViewer1_Load(object sender, EventArgs e) {
ClinicLetter rpt = new ClinicLetter();
crystalReportViewer1.ReportSource = rpt;
}
项目属性目标框架是4.5。我的电脑使用:
- Windows 7
- Visual Studio 2015
- Crystal Reports XI 第 2 版 .NET 2005 服务器
- 适用于 .NET 框架(64 位)的 SAP Crystal Reports 运行时引擎
- SAP Crysalt Reports,Microsoft Visual Studio 版本
- Crystal 报告查看器 2011 sp4
不工作的电脑使用:
- Windows 7
- 适用于 .NET 框架(64 位)的 SAP Crystal Reports 运行时引擎
- Crystal 报告查看器 2011 sp4
- Microsoft .NET Framework 4.6.1
【问题讨论】:
标签: c# .net crystal-reports