cancel
Showing results for 
Search instead for 
Did you mean: 

Rendering PDF with Text Interpretation RTF

Former Member
0 Kudos

I am exporting a RPT to PDF, this PDF have a field with Text Interpretation like RTF.

This doesn't work..

This is message original of the error

- "A trappable error (E06D7363) occurred in an external object. The script cannot continue running."

But, i know that the problem is in the field with text interpretation RTF, if i change to text interpretation to html, this works fine.

I am sending just a piece of original code.

--Lobj_Report.ExportOptions.DestinationType = 1

--Lobj_Report.ExportOptions.FormatType = 31

--Lobj_Report.ExportOptions.DiskFileName = Lstr_de_path & Lstr_nomeArquivoPDF

--Lobj_Report.ExportOptions.PDFExportAllPages = True

--Lobj_Report.DisplayProgressDialog = False

--Lobj_Report.Export False

I already tried :

- Insert Crystal in DEP

- Generate a dmp file with DebugDiag

- Look Event Viewer

- Response.write for all places

But without sucess

My configuration

My Crystal is 11 and i am using Crystal Server in Windows Server 2003 with R2.

Do you have any idea?

Best Regards

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Are you using CR XI (v.11.0.x), or CR XI R2 (v. 11.5.x)?

What version of .NET?

Does the export work from the CR 11.x designer?

When do you get the error? When doing the export, of when viewing the PDF?

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ludek,

I am using , CR XI(v.11.0.x) with Classic Asp.

Yes, in designer no have problem.

The error occurs in this line "Lobj_Report.Export False"

If i insert a response.end before this line, the problem don't occurs.

former_member183750
Active Contributor
0 Kudos

Hello Marcelo

I moved this Discussion to the "SAP Crystal Reports - Legacy SDKs" Topic Space. E.g.; you are using CR 11.0 which is not supported anymore and you are using a Legacy / unsupported SDK (the RDC).

So. Where to go now? First thing will be to get you to CR XI R2. Please see this blog on how to. Now, the RDC having been retired something like 4 or 5 years ago, my recollection on how it worked is quite fuzzy. But, if you are trying to export, why "Lobj_Report.Export False"?

BTW., both CR XI and CR XI R2 being retired means that if this is a bug, it will not be fixed and I have no way to test it as I do not have the version(s) installed.

- Ludek