The NPrinting License service has stop running recently and will not start
The NPrinting License service will not start after fresh installation or upgrade
The NPrinting License service will not start after restarting the NPrinting Server or individual services
This article describes how to resolve the issue where the NPrinting License service will not start after restarting the service, upgrading, installing NPrinting for the first time or rebooting the NPrinting Server
Environment:
NPrinting Server February 2020 and newer versions (the license service does not exist in earlier versions of NPrinting Server)
Diagnosis:
One or more of the following error appears in the NPrinting_license.log file
License Log file locations:
C:\ProgramData\nprinting\logs
C:\ProgramData\nprinting\License\Logs
Unable to start License service. ERROR: System.AggregateException: One or more errors occurred. ---> System.Security.Cryptography.CryptographicException: Keyset does not exist
System.ArgumentException: Basic authentication is enabled but username is missing
Resolution:
Open the 'Services' panel on the Windows NPrinting Server computer
Double-click on the Qlik NPrinting License Service service
On the logon tab: Switch the license service user account to the 'local system' account and restart the license service
If that account does not work, use the NPrinting engine or scheduler service user account and restart the license service
Windows Active Directory Group Policy may have changed or become restrictive to the system or user account that is running the NPrinting License Service