Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
I have a Nprintng server version February 2019. SO is win server 2016, 32 ram, 8 procesors
on Nprinting server and QV server I have the same version of QV April 2020 version 12.50.20000.0
the problem is on NPrinting server with one task who must deliver 14 pdf reports on email.
The task failed with this error:
WARN: error during report generation: Exceeded maximum number of retries
Failed generation of report 9dae2cd1-dd82-46d5-a79a-1fe541466e21 for user 088a96d4-8ea4-4788-8738-6cbc37add7b8. ERROR: Exceeded maximum number of retries
If the report are delivered mannualy it works fine.
What should I so ?
I have added this line to schedule.config
<add key="max-failure-retries" value="50"/> but no success.
Hi,
February 2019 is a very old version and not more supported so, first of all, I suggest you to upgrade your installation to latest version (February 2021) and test with it.
"Exceeded maximum number of retries" is a generic error message so, if you still have the issue after the upgrade, I suggest you to check the Qlik NPrinting Engine logs to see if you can understand what is causing the problem.
You want to distribute pdf reports from what type of template? If you are developing an Excel template please note that the Release Notes (also February 2021) lists the following know limitation:
Task fails with the error 'Exceeded maximum number of retries'
Jira issue ID: OP-4839
Some Qlik NPrinting tasks fail with the error message: “Exceeded maximum number of retries”. This is due to
a performance issue in QlikView that appears when it exports large unfiltered files to Excel.
If you are developing an Excel template you could also open a support ticket with a link to this conversation, but, first of all, I suggest you to upgrade your installation in any case. In two years we added a lot of improvements and bug fixes, also a better management of the qv.exe processes.
Best Regards,
Ruggero
Report with error
BIT_Sales_Statistik_V02.qvw
Nprinting log looks like this:
qvp://10.7.8.7/BIT/BIT_QlikView_LIVE/BIT_Sales_Statistik_V02.qvw;qlikviewversion=12.50.20000 20210402T080052.582+02:00 WARN BATWONPRINT24 0 0 0 0 0 0 0 0 Content request Qlik.Reporting.Engine.Messages.Requests.SomethingReportNodeRequest 36e3ed83-b16a-46dc-840a-6c7af28a4ba8: resolution aborted with exception Qlik.Reporting.Engine.Messages.Exceptions.NavigatorDiedException: Navigator navigator=qlikview;documentpath=qvp://10.7.8.7/BIT/BIT_QlikView_LIVE/BIT_Sales_Statistik_V02.qvw;qlikviewversion=12.50.20000 process died or has been terminated and can't be used anymore to resolve requests ---> System.AggregateException: One or more errors occurred. ---> System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)↵↓ at Qlik.QlikView.Interfaces.Variable.SetContent(String _Content, Boolean _UpdateMRU)↵↓ at Engine.Navigator.QlikView.QV.QlikViewNativeLink.<>c__DisplayClass6_0`1.<WithTimeout>b__0(CancellationToken token) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewNativeLink.cs:line 91↵↓ at Engine.Navigator.QlikView.QV.QlikViewNativeLink.WithTimeout[T](Int64& timeoutTicks, Func`2 code) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewNativeLink.cs:line 52↵↓ at Qlik.CachingProperty.Property`3.<>c__DisplayClass18_0.<.ctor>b__0(TContext ctx, T n, T c, T i) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Qlik\Qlik.Reporting.Common\Qlik\CachingProperty.cs:line 609↵↓ at Qlik.CachingProperty.Property`3.SetValue(Func`3 getValue) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Qlik\Qlik.Reporting.Common\Qlik\CachingProperty.cs:line 804↵↓ at Engine.Navigator.QlikView.QV.QlikViewVisibilityManager.UpdateVariable() in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewVisibilityManager.cs:line 95↵↓ at Engine.Navigator.QlikView.QV.QlikViewVisibilityManager.SetVisibility(String hideTicketId, Boolean visible) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewVisibilityManager.cs:line 110↵↓ at Engine.Navigator.QlikView.QV.QlikViewGraphicalObject`1.<>c__DisplayClass11_0.<set_Show>b__0(IToggleStatus status) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewGraphicalObject.cs:line 590↵↓ at Qlik.Utils.ToggleOption.<>c__DisplayClass18_0.<Toggle>b__0(IToggleStatus status) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Qlik\Qlik.Reporting.Common\Qlik\Utils\ToggleOption.cs:line 131↵↓ at Qlik.Utils.ToggleOption.Toggle[T](Func`2 code) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Qlik\Qlik.Reporting.Common\Qlik\Utils\ToggleOption.cs:line 104↵↓ at Engine.Navigator.QlikView.QV.QlikViewGraphicalObject`1.set_Show(Boolean value) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewGraphicalObject.cs:line 591↵↓ at Engine.Navigator.QlikView.QV.QlikViewSheetObject.<>c__DisplayClass24_0.<set_Show>b__0(IToggleStatus status) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewSheetObject.cs:line 248↵↓ at Qlik.Utils.ToggleOption.<>c__DisplayClass18_0.<Toggle>b__0(IToggleStatus status) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Qlik\Qlik.Reporting.Common\Qlik\Utils\ToggleOption.cs:line 131↵↓ at Qlik.Utils.ToggleOption.Toggle[T](Func`2 code) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Qlik\Qlik.Reporting.Common\Qlik\Utils\ToggleOption.cs:line 104↵↓ at Engine.Navigator.QlikView.QV.QlikViewSheetObject.set_Show(Boolean value) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewSheetObject.cs:line 251↵↓ at Engine.Navigator.QlikView.QV.QlikViewGraphicalObject.<EndGraphicalExport>b__10_0(IToggleStatus status) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewGraphicalObject.cs:line 100↵↓ at Qlik.Utils.ToggleOption.<>c__DisplayClass18_0.<Toggle>b__0(IToggleStatus status) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Qlik\Qlik.Reporting.Common\Qlik\Utils\ToggleOption.cs:line 131↵↓ at Qlik.Utils.ToggleOption.Toggle[T](Func`2 code) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Qlik\Qlik.Reporting.Common\Qlik\Utils\ToggleOption.cs:line 104↵↓ at Engine.Navigator.QlikView.QV.QlikViewGraphicalObject.EndGraphicalExport() in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewGraphicalObject.cs:line 103↵↓ at Engine.Navigator.QlikView.QV.QlikViewGraphicalObject.DoGraphicalExport[T](Func`1 code) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewGraphicalObject.cs:line 123↵↓ at Engine.Navigator.QlikView.Services.QlikViewWindowMonitorHandleExtensions.ExecuteUnmonitored[T](IQlikViewWindowMonitorHandle this, Func`1 code) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\Services\QlikViewWindowMonitorHandleExtensions.cs:line 21↵↓ at Engine.Navigator.QlikView.QV.QlikViewSheetObject.Print(String printerName) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewSheetObject.cs:line 0↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.SomethingReportNodeRequestResolver`1.<>c__DisplayClass2_1.<PerformPrintWork>b__0() in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\SomethingReportNodeRequestResolver.cs:line 149↵↓ at Engine.Navigator.QlikView.QV.QlikViewDocument.<>c__DisplayClass184_0.<ExecuteCodeWithDialogs>b__0() in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewDocument.cs:line 2003↵↓ at Engine.Navigator.QlikView.Services.QlikViewWindowMonitorHandleExtensions.ExecuteUnmonitored[T](IQlikViewWindowMonitorHandle this, Func`1 code) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\Services\QlikViewWindowMonitorHandleExtensions.cs:line 21↵↓ at Engine.Navigator.QlikView.QV.QlikViewDocument.ExecuteCodeWithDialogs(Action code) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewDocument.cs:line 2005↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.SomethingReportNodeRequestResolver`1.PerformPrintWork(QlikViewDocument doc, Dictionary`2 settings, Int32 dpi, Action`1 doPrint, String fileName) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\SomethingReportNodeRequestResolver.cs:line 143↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.SomethingReportNodeRequestResolver`1.PrintFile(SomethingReportNodeRequest request, TQlikViewObject qlikViewObject, String extension) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\SomethingReportNodeRequestResolver.cs:line 232↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.SomethingReportNodeRequestResolver`1.ResolvePrintRequest(SomethingReportNodeRequest request, TQlikViewObject qlikViewObject, String extension) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\SomethingReportNodeRequestResolver.cs:line 279↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.BaseBaseContentRequestResolver`1.Resolve(QlikViewDocument doc, IContentRequest request, QlikViewObject qlikViewObject) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\BaseContentRequestResolver.cs:line 124↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.BaseBaseContentRequestResolver`1.Engine.Navigator.QlikView.QV.Resolvers.Contents.IContentRequestResolver.Resolve(QlikViewDocument doc, IContentRequest request, QlikViewObject qlikViewObject) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\BaseContentRequestResolver.cs:line 38↵↓ --- End of inner exception stack trace ---↵↓ --- End of inner exception stack trace ---↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.BaseBaseContentRequestResolver`1.Engine.Navigator.QlikView.QV.Resolvers.Contents.IContentRequestResolver.Resolve(QlikViewDocument doc, IContentRequest request, QlikViewObject qlikViewObject) in C:\Jws\release-19.0.x-C34Yz7Xrg\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\BaseContentRequestResolver.cs:line 53
Hi,
February 2019 is a very old version and not more supported so, first of all, I suggest you to upgrade your installation to latest version (February 2021) and test with it.
"Exceeded maximum number of retries" is a generic error message so, if you still have the issue after the upgrade, I suggest you to check the Qlik NPrinting Engine logs to see if you can understand what is causing the problem.
You want to distribute pdf reports from what type of template? If you are developing an Excel template please note that the Release Notes (also February 2021) lists the following know limitation:
Task fails with the error 'Exceeded maximum number of retries'
Jira issue ID: OP-4839
Some Qlik NPrinting tasks fail with the error message: “Exceeded maximum number of retries”. This is due to
a performance issue in QlikView that appears when it exports large unfiltered files to Excel.
If you are developing an Excel template you could also open a support ticket with a link to this conversation, but, first of all, I suggest you to upgrade your installation in any case. In two years we added a lot of improvements and bug fixes, also a better management of the qv.exe processes.
Best Regards,
Ruggero
Additionally, please check the following:
Based on your logging you have shared, you are using a version of QlikView that is not supported for use with NPrinting 2019.
Support for QV 12.5 SR 2 and higher begins with NPrinting April 2020 and later versions.
https://help.qlik.com/en-US/nprinting/April2020/Content/NPrinting/DeployingQVNprinting/System-requir...
Additionally and extremely important it is critical that your QVW does NOT contain any unsupported items.
Unsupported QlikView Document item... - Qlik Community - 1714896
Further it is essential that the NP service account is dedicated to the NP server/engine computer is is assigned to and should not be used for any other QlikView or NPrinting environment.
Dedicated NPrinting Server & Engine Service Accoun... - Qlik Community - 1716056
In summary, it looks like you need to upgrade to back to a supported state and you need to ensure you are checking for unsupported QlikView items and ensure you are using a dedicated NPrinting service account.
Kind regards...