Skip to Content
0

Application crashes on ReportDocument.Close()

Apr 13 at 01:11 PM

16

avatar image

I have read other threads about the same issue but unfortunately it didn't help me.

Basically my code is as follows:

Dim rd As New CrystalDecisions.CrystalReports.Engine.ReportDocument<br>rd.Load(txtReportPath.Text)<br>... enumerate the rd.ParameterFields collection ...
rd.Close()<br>

And the application hangs at rd.Close()

The report is completely empty, no database connection, no formulas, no parameters, nothing. Except for one text object to display the word "test".

We are using SAP Crystal Reports runtime engine for .NET Framework (32-bit) 13.0.21.2533. The (test-)application is 32-bit, target framework .NET 4.5.2, and runs on Citrix terminal server / Windows 2012 R2 Standard.

When I run the same test-application on a file server from the same customer it works fine. I have asked the system admin to reinstall the above mentioned Crystal Reports runtime, to no avail.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Don Williams
4 days ago
0

Changed tag to CR for VS,

Try SP 22, there was an issue with the viewer, not that you are using it but it is the latest.

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

Try 4.6 framework, there are known issues in 4.5

Does it crash if you are not using Citrix or RDC?

Don

Share
10 |10000 characters needed characters left characters exceeded