[ SOLVED ]Report viewer max number of pages

Hello everyone, I got this error in the console, just for the report viewer. But I want to know if there is any option to increase the number of pages

java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Max number of pages (10000) reached.

Thank you so much for your time.

Who is ever going to read a 1000 page report? Split it into separate documents!

1 Like

I have a window, inside, I have the report viewer :slight_smile:

image

but I have it no visible because I just need a button that can print the information in the report .
Also, I don't understand how separate in differents documents, can you explain me please?

It's actually a 10K page limit -- you really don't want to increase that. We put this limit in to keep the gateway from crashing when the report is trying to go forever.

Usually when that happens there's something that is causing a bunch of new, blank pages, like a table row that is larger than a page size. Take a look at your report design and data, and see if anything could be causing that.

1 Like

Presumeably the report is coming from a database query? If so, the solution would be to limit the query to a range of dates, or whatever.

Yes, is coming from a database.

Unfortunality I can't modify that because are stadistics.

Thank you so much, I will check that.:

It was the design of the table, it was larger than a page size. Thank you so much.

1 Like