When attempting to start the QlikView Distribution Service, it fails with the message "Error 1067: Process terminated unexpectedly
" and logs the following error into the system application log: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()orThe 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 objectThe popup message seen will be similar to the below:
The issue persists even after validating permissions to the the Application Data folder path used.Environment:
The problem is usually caused by one of the following:
- missing registry keys
- missing GUID
- incorrect COM control permissions.
- conflicting Application Data Folder or Notification files location for the different clusters
A. If the first error above is seen, the first step to take is making sure the QVB is registered.
- Open windows file explorer
- Locate qvb.exe, default location C:\Program Files\QlikView\Distribution Service\
- Double click on qvb.exe to create the necessary Windows registry keys and GUID.
- Restart machine to make sure registry changes are properly applied
B. If the QlikView Distribution Service still cannot be started, check and manually configure the permissions for the COM control.
- Run "DCOMCNFG.EXE"
- Expand the Console Root => Component Services => Computers => My Computer => DCOM Config
- Locate "QlikViewBatch 7.0 Application", right click and choose properties
- Select the "Security" tab, then "Customize" on the "Launch and Activation Permissions", and then press "Edit"
- Add the account that needs launch permissions (the service account running the QlikView Distribution Service)
- Check the options "Local Launch", "Remote Launch", "Local Activation", and "Remote Activation"
- Save and try starting the QlikView Distribution Service
- If it still fails, repeat steps 4-7 for the "Access Permissions" and "Configuration Permissions" sections on the "Security" tab
C. If the second error above is seen and there are multiple QlikView Distribution Service (QDS) clusters, this could be due to conflicting Application Data Folder location for the different clusters. Each QDS cluster must use a separate Application Data Folder location
. If the Notifications files location has been modified in the QVDistributionService.exe.config
file it also needs its own separate location.
D. If distribution service is still not starting. Please run Qlikview server repair process and see what are the results. NOTE: If performing the above and rebooting does not fix the issue, please refer to Article 000003049 as these additional steps will resolve the problem.