cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports for Visusl Studio 2017 .NET SDK - SP 21 Bug

Former Member
0 Kudos

Hi,

We have recently migrated from SP18 to SP21 in Dev enviromnt and in Publishing Server, and some reports that work wiht export to RTF feature do not worked as it should after upgrade. Some part of data don´t was show in this new update SP21. Trying to verify if would be other kinds of err, we inspect our codes but don´t watch errs. Than, we tryied other methods from export to see if has some ligth at the tunnel's end. Happly in the PDF export method our report work fine, all the data appear on report.

Unfortunatly our client needs the report in edtitable version, thus, we was still searching from solution.

I searched on web but no one post from this issue.

Can someone help to understand the err or show the solution?

bellow an little pieces of our commented code, that we think be the critical part:

...

ExportOptions exportOpts = new ExportOptions();

PdfRtfWordFormatOptions pdfOpts = ExportOptions.CreatePdfRtfWordFormatOptions();

//exportOpts.ExportFormatType = ExportFormatType.RichText; << bad option 1

// exportOpts.ExportFormatType = ExportFormatType.WordForWindows; << bad option 2

exportOpts.ExportFormatType =ExportFormatType.PortableDocFormat; // << Option OK

exportOpts.ExportFormatOptions = pdfOpts;

reportDocument.ExportToHttpResponse(exportOpts, Response, true, "Cartaz_" + DateTime.Now.ToString("yyyyMMdd hh:mm"));

Thx 4all.

Bopp

Accepted Solutions (1)

Accepted Solutions (1)

mikael_kratz
Explorer
Former Member
0 Kudos

Mikael,

I went to see my reports and bingo, you were right. Objects that had some background color or other types of graphics do not work well in this release of Crystal Reports. In my case, some reports were white background and thus more hard to see.

Thank you again.

Former Member
0 Kudos

Hi Mikael,

It looks like the same problem, but in some of our reports there are no graphics that can cause problems. In the most critical, there are four sub-reports with text only, and yet the problem still occurs.

I will try to remove all graphical elements to see if work.

If you there´s some other tips I'll so glad.

Thx!

Bopp

Answers (0)