Skip to Content
Apr 13, 2018 at 01:11 PM

Application crashes on ReportDocument.Close()

253 Views Last edit Apr 18, 2018 at 01:52 PM 2 rev

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 ...

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) 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.