cancel
Showing results for 
Search instead for 
Did you mean: 

Application is crashing after some time while exporting data to PDF

Nilkanth1
Discoverer
148

My application is exporting reports to PDF. One customer is getting crash in application after executing for sometime while exporting data to PDF. Runtime version is 13.0.32.4286.

Crash Details:

Exception Address:crfx_pdf+0x000000000002d1a3

Exception Code:

c0000005(Access violation)

Faulting module:

crxf_pdf.dll

Any ideas what can be the issue and what we can look further to resolve it?

 

View Entire Topic
DonWilliams
Active Contributor
0 Kudos

First thing you should be doing is keeping up with the CR for VS updates, latest one is SP 37 which you can get from here:

https://origin.softwaredownloads.sap.com/public/site/index.html

See my Blog on upgrading:

Upgrading a Visual Studio 2008->2022 .NET project with the latest CR .NET SDK packages

The other thing is ask them how much data they are exporting and remind them CR is not a Database Archiving tool, they can use the Database Server to do that.

Likely they are attempting to export too much data and the PDF file is too big.

To debug try exporting to some other format.

Try exporting less data, a simple one or two page report for instance to see if that works.

Nilkanth1
Discoverer
0 Kudos
Hi Don, Thank you for your valuable input. We are currently trying these above solutions provided by you. Apart from these options is there any option to enable logging in crystal runtime while generating report.
DonWilliams
Active Contributor
0 Kudos
Not for this, you woul dneed to add your own logging component, CRLogger does log database calls but I doubt it would capture anything for the crash. DebugDiag, from Microsoft may catch more details.