Skip to Content
0
Former Member
Feb 25, 2009 at 04:57 PM

Invalid to Export the report to PDF (if Crystal includes a Flash Object)

33 Views

I am developping an aplication with VS2005 and Crystal Reports 2008 (SP1).

The application exports correctly a report to PDF if the Crystal Report Document has no Flash Objects.

And it exports correctly the document to HTML with the Flash Object.

I want to export a report to PDF from a Crystal document with a Flash Object (I want to include a Flash Object generated with Xcelsius, and which receives information from the Crystal Report through FlashVars).

When I export the report to PDF from the Crystal Document with a Flash Object, it generates an Applicaction Error:

Application Failure lanzadera.vshost.exe 8.0.50727.42 faulting module exportmodeller.dll, version 12.1.0.882, fault address 0x0007e8bf

This error doces not appear with the same Crystal Document without the Flash Object.

I have checked that the exportmoduller.dll is correctly rlegistered, and I have installed the crredist2005_x86.msm software.

I want to know if anyone has had this same problem (generating with Visual Studio 2005 a Crystal Document with a Flash Object generated with Xcelsius).

I generate the document with the Flash Object correctly directly, out from the .NET Developmente, with CR2008, and I want to export it correctly in my Application.

In the Application code I have

.......

diskOpts = ExportOptions.CreateDiskFileDestinationOptions()

myExportOpts.ExportDestinationType = ExportDestinationType.DiskFile

myExportOpts.ExportFormatType = ExportFormatType.PortableDocFormat

diskOpts.DiskFileName = strExportFile

myExportOpts.ExportDestinationOptions = diskOpts

crDocumento.Export(myExportOpts)

And when executes the Export, it fails.

Thanks,