Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi,

I created a small application to receive some parameters like RPT file, destination filename, format and report parameters.

After loading de RPT with the parameters and getting the result, if i try to export by code to XLS format or after opening the result in the CrystalReportViewer and try to export it to the same format, the application hangs and closes.

All other formats, can be exported with no problem, even the XLS format with data only can be exported with success, only the XLS format with the appearance of the PDF hangs and shutdown my app...

Can anyone help me with this issue?

I'm using C# with WPF windows and VStudio2010 in a windows 7 32B environment.

Crystal Reports for .NET Framework 4.0
C#
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;

Thank you in advance.

Ricardo
Posted
Updated 10-Oct-12 5:21am
v2

1 solution

Ok, It seems to have some kind of issue with this last version of crystal reports withe VS2010.

Is you are using Crystal Reports 13 with SP4 and Visual Studio 2010 and you have an RPT with subreports, if you try to export it by code or by the viewer to EXCEL (XLS), your application will generate a runtime error and close. If you export to Excel data only, there's no problem what so ever.

This issue is already reported to SAP Support.

http://scn.sap.com/thread/3210737

Hope it helps you.

Regards.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900