# \[ SOLVED \]Report viewer max number of pages

**URL:** <https://forum.inductiveautomation.com/t/solved-report-viewer-max-number-of-pages/72540>\
**Category:** Ignition\
**Tags:** vision, ignition81\
**Created:** [April 17, 2023, 7:16pm UTC](https://forum.inductiveautomation.com/t/solved-report-viewer-max-number-of-pages/72540 "2023-04-17T19:16:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [April 17, 2023, 7:16pm UTC](https://forum.inductiveautomation.com/t/solved-report-viewer-max-number-of-pages/72540/1 "2023-04-17T19:16:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 17, 2023, 8:20pm UTC](https://forum.inductiveautomation.com/t/solved-report-viewer-max-number-of-pages/72540/2 "2023-04-17T20:20:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [April 17, 2023, 8:24pm UTC](https://forum.inductiveautomation.com/t/solved-report-viewer-max-number-of-pages/72540/3 "2023-04-17T20:24:32Z")

</div>

I have a window, inside, I have the report viewer 🙂

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/1/8115c4d647cb3a9ded1045e90dd1ec3f6c773cda.png)

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?

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [April 17, 2023, 8:28pm UTC](https://forum.inductiveautomation.com/t/solved-report-viewer-max-number-of-pages/72540/4 "2023-04-17T20:28:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 17, 2023, 8:35pm UTC](https://forum.inductiveautomation.com/t/solved-report-viewer-max-number-of-pages/72540/5 "2023-04-17T20:35:27Z")

</div>

> [@Esmeralda\_Lopez](#):
>
> I don't understand how separate in differents documents

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.

---

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [April 17, 2023, 8:38pm UTC](https://forum.inductiveautomation.com/t/solved-report-viewer-max-number-of-pages/72540/6 "2023-04-17T20:38:19Z")

</div>

Yes, is coming from a database.

Unfortunality I can't modify that because are stadistics.

---

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [April 17, 2023, 8:40pm UTC](https://forum.inductiveautomation.com/t/solved-report-viewer-max-number-of-pages/72540/7 "2023-04-17T20:40:50Z")

</div>

Thank you so much, I will check that.:

---

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [April 17, 2023, 8:43pm UTC](https://forum.inductiveautomation.com/t/solved-report-viewer-max-number-of-pages/72540/8 "2023-04-17T20:43:42Z")

</div>

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