Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Application crashes on ReportDocument.Close()

$
0
0

Hello everybody,

 

our reports are developed in SAP Crystal Reports Version 14.0.2.364 RTM. The reports are being called by a c# dll, written in.NET 4.0 and CR for VS2010. This works nice and without any problems.

 

Now, we have a new customer and our software should be used on a Windows 2008 R2 terminalserver. We have installed the runtime CRforVS_redist_install_32bit_13_0_4.zip on the system. On this server, some reports crashing at the call of ReportDocument.Close().

 

Close() is being called as follows:

 

MainCRWReport.Close();

MainCRWReport.Dispose();

 

GC.Collect();

GC.WaitForPendingFinalizers();

 

All other customer installations work fine with this calls.

 

A little bit curious is, that if "Crystal Reports .NET-Logging" is enabled, the application doesn't crash. When logging is disabled the crash can be avoided only if we delete the line MainCRWReport.Close() from our code.

 

I have tried to analyse the crash dump via Microsoft Debug Diag, but I didn't find a solution.

 

Do you have any idea, why Close() raises a crash?


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>