RDLC report with large datasets
Alex_Chow
Member Posts: 5,063
Hi Guys,
So does anyone have a solution for reports running in NAV2013 with a large dataset?
For example, A/R (and A/P) report with detail, inventory valuation, etc.
If there is too much data, RDLC crashes.
Any solutions to this without writing an export to Excel? Or other work arounds?
So does anyone have a solution for reports running in NAV2013 with a large dataset?
For example, A/R (and A/P) report with detail, inventory valuation, etc.
If there is too much data, RDLC crashes.
Any solutions to this without writing an export to Excel? Or other work arounds?
Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
0
Comments
-
Hi Alex
When you run these reports from the Windows Client, the data set and RDLC is send to the client and there combined.
Windows Client is 32 bit and as you mention, if the report has to many details, you run out of memory.
The easiest workaround is to run the report with C/AL Report.SaveAsPdf(...) (Request Page Save to PDF is client side rendered). This will do the rendering on the server side which runs 64 bit and can handle much larger reports. I have done tests utilizing more than 40 Gb of memory.
If you don't like the PDF intermediate step, then consider Report.RUN from within STARTSESSION (Documented as Print On Server), which is also a pure server side operation.
There is also a hotfix that removes a performance regression introduced in the combination of Report Viewer 2010 and .NET 4 (Look for New Information since Update Rollup 5: update to the hotfix and add NetFx40_LegacySecurityPolicy to the config files)
http://blogs.msdn.com/b/nav/archive/201 ... eview.aspx
Duilio Tacconi made a very good post about this topic in general:
http://blogs.msdn.com/b/nav/archive/201 ... s-nav.aspx
BR
Torben“This posting is provided "AS IS" with no warranties, and confers no rights.”0 -
Like I said, no work arounds. When the customer buys this product, they expect it to work out of the box.
And there's no way for us to tell which report will run into this problem. The "sometimes it will work and sometimes it will not" will not fly with customers.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Here is AR Report on SQL
http://mibuso.com/blogs/ara3n/2014/07/0 ... amics-nav/
And AP Report on SQL
http://mibuso.com/blogs/ara3n/2014/07/0 ... amics-nav/0 -
If it's worth any comfort we have encountered this issue with a few NAV2013 R1 and R2 clients. Really annoying especially if the Reports are NAV standard. However, with document outputs like Statements and Invoices the logo will gobble up memory quickly. There is a work around in code to clear the Picture flowfield after the header line has been retrieved.
I also try to keep my dataset small and remove unused columns.
The other option is server side printing which was already mentioned here, but I'm too familiar with that as yet.Jason Bradley
Working with NAV since 2001
“Knowledge speaks, but wisdom listens” - Jimi Hendrix0 -
Something else that can be done as well is that all the decimal values have two column, one for formatting and one for the value.
In NAV 2013, you can change them to string using format and it have one column instead of two, but it's still workaround.0 -
Alex Chow wrote:Like I said, no work arounds. When the customer buys this product, they expect it to work out of the box.
And there's no way for us to tell which report will run into this problem. The "sometimes it will work and sometimes it will not" will not fly with customers.
When you have clients that upgrades thinking they have the latest and greatest, you're telling me that I have to tell them that we will need additional billable hour to address something that should've not been a issue at all?
This is quite embarrassing to say the least and kills our credibility.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Spot on.0
-
I had a customer over 10 years ago who switched from his nice customized Cobol based package to Oracle Financials and Manufacturing and spent million of dollars in customization and still did not get all the features of their old package.
I would have got into NAV far earlier than I did if I had not wasted my time looking for the perfect package.
If you find one, let us know.
David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
davmac1 wrote:I had a customer over 10 years ago who switched from his nice customized Cobol based package to Oracle Financials and Manufacturing and spent million of dollars in customization and still did not get all the features of their old package.
I would have got into NAV far earlier than I did if I had not wasted my time looking for the perfect package.
If you find one, let us know.
:shock: :shock: :shock: I don't even know how to respond to this.
So what are you saying? Just shut up and accept it the way it is?Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
What I am saying is all software packages I have experience with have problems. Some worse than others.
It would be nice if Microsoft could put some qualified people on report development.
It would also be nice if they did not remove a feature that 99% of its partners and developers used, then finally put it back in a form that only 10 to 20% can use.
And now upgrades are going to be easy. I can hardly wait. I am expecting it to require a new way of doing mods, which would do no good for existing NAV implementations.David Machanick
http://mibuso.com/blogs/davidmachanick/0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

