Hello! Can you help me. I created new report and run on preview. Total rows in the report 19000. I get error "Stream was too long". Why can't show 19000 rows?
Nav2016
Why does does the thread caption read "...: Too many rows" when the error message says "Stream was too long"?
Did you jump to an unwarranted conclusion, or do you have more indication for this?
A quick google search let me believe, not enough memory is the reason for the error message. So, try to reduce the size of the data in the dataset. I believe, structuring (indenting) the data items and keeping fields as "outdented" as possible may help. For instance, it makes little sense to transmit a company logo with every row.
Why does does the thread caption read "...: Too many rows" when the error message says "Stream was too long"?
Did you jump to an unwarranted conclusion, or do you have more indication for this?
A quick google search let me believe, not enough memory is the reason for the error message. So, try to reduce the size of the data in the dataset. I believe, structuring (indenting) the data items and keeping fields as "outdented" as possible may help. For instance, it makes little sense to transmit a company logo with every row.
@alce redesign the report structure and move section the BLOB field to a section that is not repeated. Then use the code inside the report to get the BLOB data to the control in place where you need it
The trick is to base the very first Data section on the Integer table, limit iterations to just one, and add all BLOBs as variables calculated in the code and exposed as columns in that sectoin.
Or investigate ForNav Reports - far, far better and cost-effective solution for creating and maintaining reports in NAV/BC
Answers
Check if you don't have anything like a picture or other BLOB data anywhere in your dataset.
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
Zaid Tariq
Dynamics NAV/365 BC Developer at Dynamics 360
please like / agree / verify my answer, if was helpful.
Did you jump to an unwarranted conclusion, or do you have more indication for this?
A quick google search let me believe, not enough memory is the reason for the error message. So, try to reduce the size of the data in the dataset. I believe, structuring (indenting) the data items and keeping fields as "outdented" as possible may help. For instance, it makes little sense to transmit a company logo with every row.
The trick is to base the very first Data section on the Integer table, limit iterations to just one, and add all BLOBs as variables calculated in the code and exposed as columns in that sectoin.
Or investigate ForNav Reports - far, far better and cost-effective solution for creating and maintaining reports in NAV/BC
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03