Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. READ MORE

Qlik NPrinting Engine Installation Fails with "0x80070001 Incorrect Function"

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Andrea_Bertazzo
Support
Support

Qlik NPrinting Engine Installation Fails with "0x80070001 Incorrect Function"

Last Update:

Jan 22, 2024 11:31:57 AM

Updated By:

Andrea_Bertazzo

Created date:

Jan 22, 2024 11:31:57 AM

The Qlik NPrinting Engine upgrade fails with the following error message:

0x80070001 Incorrect Function

When looking at the following Installation log:
Qlik_NPrinting_Engine_June_2019_<Date>_000_MainPackage.log

This error message is displayed:

CAQuietExec64:  Installing certificates...
CAQuietExec64:  
CAQuietExec64:  Unhandled Exception: System.Security.Cryptography.CryptographicException: Access is denied.
CAQuietExec64:  
CAQuietExec64:     at System.Security.Cryptography.X509Certificates.X509Store.RemoveCertificateFromStore(SafeCertStoreHandle safeCertStoreHandle, SafeCertContextHandle safeCertContext)
CAQuietExec64:     at Qlik.NPrinting.LocalhostCertificateGenerator.Cert.DeleteCACertificate() in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\LocalhostCertificateGenerator\Cert.cs:line 61
CAQuietExec64:     at Qlik.NPrinting.LocalhostCertificateGenerator.Cert.InstallLocalhostCertificate() in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\LocalhostCertificateGenerator\Cert.cs:line 19
CAQuietExec64:     at Qlik.NPrinting.LocalhostCertificateGenerator.Starter.Main(String args) in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\LocalhostCertificateGenerator\Starter.cs:line 35
CAQuietExec64:  Error 0xe0434352: Command line returned an error.
CAQuietExec64:  Error 0xe0434352: QuietExec64 Failed
CAQuietExec64:  Error 0xe0434352: Failed in ExecCommon64 method
CustomAction InstallLocalhostCertificate returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 14:10:58: InstallFinalize. Return value 3.

 

Resolution

  1. Open the NPrinting Server's (or NPrinting Engine computer's if installed separately from the NPrinting server) Certificate Management Console. You can follow this article.
  2. Go to Trusted root Certification Authorities and delete the certificate NPrinting-CA
  3. Go to the NPrinting Web Console, open Admin>Engine manager and delete the NPrinting Engines.
  4. Reinstall NPrinting Engine.  You can follow this article.
  5. Add a new NPrinting  Engine in NPrinting Web Console Admin>Engine manager.
  6. The NPrinting Engine installer should now run as expected
  7. Notice:  please contact your network group domain administrator if you are unable to delete the certificate as a Windows administrative user account. It is likely that a Group Policy has been configured to prevent manual deletion of certificates.

 

Cause 

 

Internal Investigation ID

OP-8771

 

Environment

  • Qlik NPrinting all supported versions
Contributors
Version history
Last update:
‎2024-01-22 11:31 AM
Updated by: