Skip to Content
0
Former Member
Oct 12, 2009 at 10:40 AM

Crystal Reports 2008 - Blank page on server only

226 Views

Crystal Reports 2008 - Blank page on server only

My report is developed in the Crystal Reports 2008 Report Designer 12.0.0.683.

I have a .NET application that takes the report file, an ODBC connection and exports the resulting report to PDF. This application is deployed as an MSI and includes the Crystal Reports .msm merge module. The report uses multiple views and tables from a single database to create invoices in PDF format.

Problem: For one particular invoice, a blank page is being added to the end of the invoice. This blank page contains the report's standard page header. There is no missing data and no missing sections on the invoice. This is only occurring when the pdf is generated on a Windows Server 2008 x64 server where the application is deployed using the merge modules.

I have installed the application locally on my Windows Vista Business x86 system and the generated PDF does NOT contain the blank page at the end.

The blank page is not generated when previewing the report in Report Designer. For the particular invoice this is occurring on, footer F and footer G are blank and therefore suppressed.

Please bear in mind that this happens only for one particular invoice that uses this report file and does not happen from my local system using the same .rpt file.

The report is constructed of the following sections:

-Page Header (suppressed on page 1)

-Grp1 header A (watermark conditionally suppressed based upon a parameter)

-Grp1 header B (Keep together - always fits onto a single page)

-Details

-Grp1 footer A (Keep together)

-Grp1 footer B (Conditionally suppressed based upon data)

-Grp1 footer C (Keep together)

-Grp1 footer D (Contains sub report(suppressed when blank). Keep together. Suppress blank section. New page before but (Not OnLastRecord))

-Grp1 footer E (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)

-Grp1 footer F (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)

-Grp1 footer G (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)

-Report footer (Always blank. Suppress blank section)

-Page footer (Fixed static content, displayed on every page.)

Edited by: alibaabaa on Oct 12, 2009 12:41 PM

Edited by: alibaabaa on Oct 12, 2009 12:45 PM