Skip to Content
avatar image
Former Member

Error message "Page header or footer longer than a page"


Our application call crystal report to generate/display crystal report in PDF format. We have a dev system to test this, all looking good, however when we moved to production server, the attached error message is displayed when running crystal report.

Invoking method GENERATEREPORT returned error Page Header plus Page Footer is too large for the page.

Error in File C:\DOCUME~1\SERV

IC1.LIM\LOCALS1\Temp\temp coq new xxxx.rpt:

Page header or footer longer than a page.

Same report doesnu2019t get this error message if running it from crystal report developer.

Not all crystal reports got this error, but some of reports display strange view in PDF, the content of report are reduced in a paper size like label size, not A4 size. I have checked the default printer on the server, it points to a normal window printer, not a label printer. I have checked all possible settings on production server and compared with dev server, all looks same to me

I suspect the label printing size is used somehow when the report is previewed in pdf format, not normal A4 size although I have selected a normal window printer as a default printer on the window,what else should i check?

Could you please shed some light on this?



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Jan 25, 2010 at 06:03 PM

    Exporting to PDF shouldn't affect the page header/footer format but does the report work in production if you just print it straight from the viewer? Are you getting this error when you try to print or export, or during report generation?

    In the report itself, are there any report objects in the page header or footer that could grow, expanding to exceed the paper size? What are the page settings?


    Who needs more to go on...

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I found the issue is from label printer that is setup on the production server. After I removed the label printer from the server, then error message is gone, all report running fine.

      This label printer is not the default window printer, it is a network printer but is configured as a printer using local port on the server.

      I think for some reasons, crystal report alway picks up the label printer page size, not the normla page size, I am not sure why and how crystal report do this, it should pick up the default printer, which is a normal printer.

      There is no error when I run report within CR. The error happens only when I try to generate crystal report from our application.

      I do have logo in page header/footer, subreports in report footer, but I don't think they cause the problem, because I can run same report without any problem in dev system.

      Any idea what I should check next?


  • avatar image
    Former Member
    Jan 25, 2011 at 12:57 PM

    I have the same problem in Crystal Reports 2008 sp 3. All headers and footers in subreports are supressed. The mainreport contains header and footer with only a label, so it can't grow. Printing orientation is landscape, no printer option is checked. Report prints over several pages, depending on the selected data it gives the error or not. Saved to pdf as well as printing gives the same error. Can you point me out to solve this issue?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      We get this same problem. We have determined it is an issue when exporting our report the PDF when the logo image file size is to big... here is the applicable error message:

      Error in File rptGroupList {69F080EE-FF3E-4844-8DD7-90BABFE63D68}.rpt:

      Page header or footer longer than a page.

      Stack trace: at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.Export(CrReportExportFormatEnum exportFormat, Int32 Reserved)

      I'd like to find out why this would happen... is there a way to specify a max display size for the header.