Qlik Community

Ask a Question

Knowledge Base

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Live chat with experts, bring your API Integration questions. June 15th, 10 AM ET. REGISTER TODAY

QlikView Distribution Service error on start-up 1067: Process terminated unexpectedly

Sonja_Bauernfeind
Digital Support
Digital Support

QlikView Distribution Service error on start-up 1067: Process terminated unexpectedly

The QlikView Distribution Service fails to start. Windows displays the following error:

Error 1067: Process terminated unexpectedly 

See Figure 1.

Fig 1Fig 1

This can be caused by a range of issues. We will break down the most common ones. 

To begin identifying the root cause, the following logs files are crucial:

  • Windows System Event log
  • Windows Application Event log
  • Distribution Service service log (default location: C:\ProgramData\QlikTech\Distribution Service\Log)

 

Application Data Folder Permissions 

The Windows System Event logs record: 

The service must have sufficient permissions in Publisher Application Data Folder

 

To solve

 

  • Verify that the QlikView Service account has full read and write and modify permissions on C:\ProgramData\QlikTech\DistributionService
  • If a Distribution Service Cluster is deployed, verify that the Application Data folder location is correctly configured. Each node in a cluster requires its own Application Data Folder and Notifications file location. 
  • Individual files in the Application Data folder may be corrupted. 
    • The folder C:\ProgramData\QlikTech\DistributionService can be recreated
    • Stop the Distribution Service 
    • Rename the \DistributionService folder 
    • Start the Distribution Service

 

QVB and DCOM 

  • missing registry keys
  • missing GUID
  • incorrect COM control permissions.

The Windows System Event logs record: 

The service must have sufficient permissions in Publisher Application Data Folder: "C:\ProgramData\QlikTech\DistributionService". Exception=System.Exception: Could not start: CouldNotStartQVB at QDSMain.MainClass.Run()

or

The service must have sufficient permissions in Publisher Application Data Folder: "C:\ProgramData\QlikTech\DistributionService".
Exception=System.NullReferenceExceptions: Object referenced not set to an instance of an object

 

To solve

 

Register the QVB.exe (QlikView Batch engine):
  1. Open windows file explorer
  2. Locate qvb.exe, default location C:\Program Files\QlikView\Distribution Service\
  3. Double click on qvb.exe to create the necessary Windows registry keys and GUID.
  4. Restart the Windows host
Manually configure the DCOM permissions:
  1. Start Run with Windows key + R
  2. Run DCOMCNFG.EXE
  3. Expand the Console Root  > Component Services > Computers > My Computer > DCOM Config
  4. Locate QlikViewBatch 7.0 Application
  5. Right-click. Choose properties
  6. Select the Security tab
  7. On Launch and Activation Permissions choose Customize and press Edit
  8. Add the QlikView Service account 
  9. Check the options
    • Local Launch
    • Remote Launch
    • Local Activation
    • Remote Activation
  10. Save and try starting the QlikView Distribution Service
  11. If it still fails, repeat steps 7-10 for the "Access Permissions" and "Configuration Permissions" sections on the "Security" tab

If the above fail, run a Repair on the Distribution Service Node 

Broken Performance Counters

Windows Performance Counters may need to be repaired.

The Distribution Service Application log or Windows Application log read:

Exception=System.InvalidOperationException: Category does not exist.
 at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
   at System.Diagnostics.PerformanceCounter.InitializeImpl()
   at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
   at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
   at QDSMain.Diagnostics.QDSDiagnostic.get_Instance()

 

To solve

 

Verify that the correct .NET Framework version is installed

Review the System Requirements for your respective QlikView version. 

Performance counters missing or installed incorrectly

In an elevated (administrator permissions) command prompt execute one of the following: 

lodctr /R

or

C:\Windows\SysWOW64>lodctr /R

Source: Event ID 3012 — Performance Counter Loading  (Microsoft .com)

Performance Counter Disabled in Registry for OS

The Performance Counters might have been disabled on the Operating System Level.
Verify the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfOS\Performance
Disable Performance Counters should be set to 0

Performance Counter Permissions

See Access to the registry key 'Global' is denied. The account doesn't have the proper rights to the reg... 

 

QVPR (QlikView Publisher Repository) invalid

Windows Event log and QlikView Distribution Service Cluster log may show:

Exception=System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime

or

System.NullReferenceException: Object reference not set to an instance of an object
 

A damaged QVPR can cause issues with the Distribution Service, as it may send faulty information to the service. Note that the QVPR is used to store tasks and system-wide configuration and should never be deleted in an active system. Backups are taken automatically daily at 00:00.

 

To solve

For instructions on how to restore a backup, see:  How To: Restore the QVPR From Backup or Recreate the QVPR

 

FIPS enabled

FIPS may be enabled.

The Windows Application log reads:

Exception when creating CryptoServiceProvider: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. Local Security Policy -> Security Options -> System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing - should be disabled 

And a .Net Runtime error:

Exception Info: System.InvalidOperationsException
at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
at QDSMain.Clustering.DefaultClusterNotification.Work.Thread()

 

To solve

FIPS is not supported with QlikView. See Distribution Service will not Start Error 1067 or Event ID 1026 in Server Logs for details. 

Labels (1)
Version history
Revision #:
6 of 6
Last update:
‎2020-10-12 08:51 AM
Updated by:
 
Contributors