Skip to Content
avatar image
Former Member

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


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.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 07, 2017 at 02:51 PM
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.