Sunday, February 19, 2012

Blank Pages in report

I am supporting a web based application (ASP.NET 1.1) that uses RS 2005 on the production server. I needed to change a report, I make my changes, it looks fine in the Developer Viewer and it exports fine to PDF on my PC. I have deployed it to the production server but when you pull the report within the application (PDF format) it has 3 additional blank pages on the end of the report. The report is the correct size. It does not excede the 8/11 page size including the margins, there are no hidden fields. The report does have 4 tables. I have even viewed the report from //localhost/reports on the server and it shows only one page and exports to pdf with one page. I have looked at all the postings that deal with Blank pages and nothing seems to correct the problem.

Does anyone have any ideas?

Thanks

If you take things out does it still put 3 extra pages in?|||I can try that tonight. Since this only happens in production, I must wait to off hours.|||

Ok, I found the issue. This report is just a sub report to a master report. The master report was not formated to fit on 8.5/11 paper. Thus it pushed the additional blank pages. Once I formated the Master report, there where no more blank pages.

Thanks

|||

This is the most common problem for blank pages in a report.

In development the user will accidentally extend the width of the report beyond normal page limits, so extra pages get printed.

Blank Pages in a report <-- text put there for people searching on this problem.

Make sure that your main report page setup is correct for the hieght and width of your report, and also double check any subreports.

Daryl

No comments:

Post a Comment