Possible solution to printing error

afarr
Member Posts: 287
We have a client who encountered a strange problem when printing certain reports in Nav 2016.
We spent a long time investigating this, and thinking that it was caused by poor performance.
Eventually, we opened a Microsoft ticket. MS suggested that we upgrade .Net to 4.6.1 or above, remove two Windows updates (3098779 and 3097997), and restart the server, and that did actually solve the problem.
Hopefully, this will help someone else if they face the same problem.
The issue occurred quite often, but not always, when printing certain reports (they were all from the Printvis vertical, but that might just be because this client uses Printvis so much). Since these reports are used many times each day, this caused quite some frustration for the users. It only affected users who connect remotely, using CheckPoint VPN and RD Web.
When running the report, the following message appears after a few seconds (5 seconds or less):

"Rendering output for the report failed and the following error occurred: The definition of the report '' is invalid."
When the same user runs the same report, from the same machine, with the same parameters, this message may appear 19 times, then on the 20th attempt the report runs without problem.
The Event Viewer, and the Nav debugger, do not show any relevant messages when this issue occurs.
Re-compiling all objects has helped to reduce the frequency of this error, but it still occurs.
We spent a long time investigating this, and thinking that it was caused by poor performance.
Eventually, we opened a Microsoft ticket. MS suggested that we upgrade .Net to 4.6.1 or above, remove two Windows updates (3098779 and 3097997), and restart the server, and that did actually solve the problem.
Hopefully, this will help someone else if they face the same problem.
The issue occurred quite often, but not always, when printing certain reports (they were all from the Printvis vertical, but that might just be because this client uses Printvis so much). Since these reports are used many times each day, this caused quite some frustration for the users. It only affected users who connect remotely, using CheckPoint VPN and RD Web.
When running the report, the following message appears after a few seconds (5 seconds or less):

"Rendering output for the report failed and the following error occurred: The definition of the report '' is invalid."
When the same user runs the same report, from the same machine, with the same parameters, this message may appear 19 times, then on the 20th attempt the report runs without problem.
The Event Viewer, and the Nav debugger, do not show any relevant messages when this issue occurs.
Re-compiling all objects has helped to reduce the frequency of this error, but it still occurs.
Alastair Farrugia
0
Best Answer
-
As mentioned, this was solved by upgrading .Net to 4.6.1 or above, removing two Windows updates (3098779 and 3097997), and restarting the serverAlastair Farrugia0
Answers
-
As mentioned, this was solved by upgrading .Net to 4.6.1 or above, removing two Windows updates (3098779 and 3097997), and restarting the serverAlastair Farrugia0
-
MS also mentioned this blog post: https://blogs.msdn.microsoft.com/nav/2016/01/25/report-error-vbcommandlinecompiler/Alastair Farrugia0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions