Skip to main content

NPrinting ERROR System.Exception Exceeded maximum number of retries

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

NPrinting ERROR System.Exception Exceeded maximum number of retries

Last Update:

Oct 19, 2021 2:14:42 PM

Updated By:

Frank_S

Created date:

Apr 22, 2021 6:48:45 AM

NPrinting task run successfully but occasionally the same task failed. It is happening with different reports not only same one.
Below is the error message from the NP scheduler log:

  • Failed generation of report xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx for user xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx  
  • ERROR: System.Exception: Exceeded maximum number of retries

 

Environment

 

Resolution

 

Steps to resolve the issue:


Part 1

  1. Stop all NPrinting services
  2. Navigate to C:\Program Files\NPrintingServer\NPrinting\Scheduler
  3. Make a copy of scheduler.config
  4. Edit scheduler.config
  5. Add <add key="max-requeue-attempts" value="20"/> to the file, at the end of the list but before the closing tag (</appSettings>)
  6. Restart NP services

You may also increase the value as needed (for example 30, 40, 50).

Note: If this does not resolve the task from failing, please restore the original file and go to Part 2 below.

Part 2

  1. Stop all NPrinting services
  2. Navigate to C:\Program Files\NPrintingServer\NPrinting\Scheduler
  3. Make a copy of scheduler.config
  4. Edit scheduler.config
  5. Add  <add key="max-failure-retries" value="20"/> to the file, at the end of the list but before the closing tag (</appSettings>)
  6. Restart NP services

You may also increase the value as needed (for example 30, 40, 50).

Note: Please revert the file to the original version if this does not help with the issue and submit a support request to the Qlik Support Desk

Further note that these changes are cleared upon upgrading NPrinting.

Please re-apply these settings if the issue persists following any NPrinting upgrade.

 

Related Information:

Labels (1)
Comments
carcglelaboic
Contributor II
Contributor II

I am pleased to inform you that following the  changes, our tasks are now executing successfully. 

Thank you  for your help and expertise.

Version history
Last update:
‎2021-10-19 02:14 PM
Updated by: