Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error using Crystal Report Windows Forms Viewer

Status
Not open for further replies.

chadau

Programmer
Nov 14, 2002
155
US
Running a VB.NET Windows Application on a client machine and calling a Crystal Report File to be viewed in the Crystal Report Windows Forms Viewer. Below is the error I keep getting:

Crystal Report Windows Forms Viewer

"Error in File C:\Program Files\LAFB Applications\HODP Rate\Reports\crptDPQuote.rpt: Page header or footer longer than a page."

I never get this error when running application on the development pc. Any ideas would be greatly appreciated!
 
Crystal formats based on the printer, so this may be the cause.

Try using the same printer, or better yet, make sure that the Page Header and Page Footers do NOT come close to exceeding the length of the page.

-k
 
Thankyou. You were right. I was trying to preview a Crystal Report on a PC without a Printer. I set a default printer and the preview works fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top