<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article QlikView Distribution Service error on start-up 1067: Process terminated unexpectedly in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Distribution-Service-error-on-start-up-1067-Process/ta-p/1712527</link>
    <description>&lt;P&gt;The QlikView Distribution Service fails to start. Windows displays the following error:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Error 1067: Process terminated unexpectedly&lt;/SPAN&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;See Figure 1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fig 1" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41903i8C8B5CF54B8F1200/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikView Distribution Service Can Not Be Started And Error _1067.png" alt="Fig 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Fig 1&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This can be caused by a range of issues. We will break down the most common ones.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To begin identifying the root cause, the following logs files are crucial:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Windows System Event log&lt;/LI&gt;
&lt;LI&gt;Windows Application Event log&lt;/LI&gt;
&lt;LI&gt;Distribution Service service log (default location: &lt;FONT face="courier new,courier"&gt;C:\ProgramData\QlikTech\Distribution Service\Log&lt;/FONT&gt;)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Application Data Folder&amp;nbsp;Permissions&amp;nbsp;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;The Windows System Event logs record:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;The service must have sufficient permissions in Publisher Application Data Folder&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;To solve&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Verify that the QlikView Service account has full read and write and modify permissions on&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\ProgramData\QlikTech\DistributionService&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;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.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Individual files in the Application Data folder may be corrupted.&amp;nbsp;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;The folder&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\ProgramData\QlikTech\DistributionService&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;can be recreated&lt;/LI&gt;
&lt;LI&gt;Stop the Distribution Service&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Rename the &lt;FONT face="courier new,courier"&gt;\DistributionService&lt;/FONT&gt; folder&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Start the Distribution Service&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;QVB and DCOM&amp;nbsp;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;missing registry keys&lt;/LI&gt;
&lt;LI&gt;missing GUID&lt;/LI&gt;
&lt;LI&gt;incorrect COM control permissions.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The Windows System Event logs record:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;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()&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;The service must have sufficient permissions in Publisher Application Data Folder: "C:\ProgramData\QlikTech\DistributionService".&lt;BR /&gt;Exception=System.NullReferenceExceptions: Object referenced not set to an instance of an object&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;To solve&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Register the QVB.exe (QlikView Batch engine):&lt;/STRONG&gt;&lt;/H5&gt;
&lt;OL&gt;
&lt;LI&gt;Open windows file explorer&lt;/LI&gt;
&lt;LI&gt;Locate qvb.exe, default location&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\Program Files\QlikView\Distribution Service\&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Double click on &lt;FONT face="courier new,courier"&gt;qvb.exe&lt;/FONT&gt; to&amp;nbsp;create the necessary Windows registry keys and GUID.&lt;/LI&gt;
&lt;LI&gt;Restart the Windows host&lt;/LI&gt;
&lt;/OL&gt;
&lt;H5&gt;&lt;STRONG&gt;Manually configure the DCOM permissions:&lt;/STRONG&gt;&lt;/H5&gt;
&lt;OL&gt;
&lt;LI&gt;Start &lt;EM&gt;Run &lt;/EM&gt;with &lt;STRONG&gt;Windows key + R&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Run &lt;EM&gt;&lt;STRONG&gt;DCOMCNFG.EXE&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Expand the &lt;STRONG&gt;Console Root&lt;/STRONG&gt;&amp;nbsp; &amp;gt;&lt;STRONG&gt; Component Services&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Computers&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;My Computer&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;DCOM Config&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Locate&amp;nbsp;&lt;STRONG&gt;QlikViewBatch 7.0 Application&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Right-click. Choose properties&lt;/LI&gt;
&lt;LI&gt;Select the Security tab&lt;/LI&gt;
&lt;LI&gt;On &lt;STRONG&gt;Launch and Activation Permissions&lt;/STRONG&gt; choose &lt;STRONG&gt;Customize&lt;/STRONG&gt; and press &lt;STRONG&gt;Edit&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Add the QlikView Service account&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Check the options
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;Local Launch&lt;/LI&gt;
&lt;LI&gt;Remote Launch&lt;/LI&gt;
&lt;LI&gt;Local Activation&lt;/LI&gt;
&lt;LI&gt;Remote Activation&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Save and try starting the QlikView Distribution Service&lt;/LI&gt;
&lt;LI&gt;If it still fails, repeat steps 7-10 for the "Access Permissions" and "Configuration Permissions" sections on the "Security" tab&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If the above fail, run a Repair on the Distribution Service Node&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Broken Performance Counters&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Windows Performance Counters may need to be repaired.&lt;/P&gt;
&lt;P&gt;The Distribution Service Application log or Windows Application log read:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;Exception=System.InvalidOperationException: Category does not exist.&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&amp;nbsp;at System.Diagnostics.&lt;STRONG&gt;PerformanceCounterLib&lt;/STRONG&gt;.CounterExists(String machine, String category, String counter)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;at System.Diagnostics.&lt;STRONG&gt;PerformanceCounter&lt;/STRONG&gt;.InitializeImpl()&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;at System.Diagnostics.&lt;STRONG&gt;PerformanceCounter&lt;/STRONG&gt;..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;at System.Diagnostics.&lt;STRONG&gt;PerformanceCounter&lt;/STRONG&gt;..ctor(String categoryName, String counterName, String instanceName)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;at QDSMain.Diagnostics.QDSDiagnostic.get_Instance()&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;To solve&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Verify that the correct .NET Framework version is installed&lt;/STRONG&gt;&lt;/H5&gt;
&lt;P&gt;Review the &lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Content/QV_HelpSites/System-requirements.htm" target="_blank" rel="noopener"&gt;System Requirements&lt;/A&gt; for your respective QlikView version.&amp;nbsp;&lt;/P&gt;
&lt;H5 id="toc-hId--299470913"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Performance counters missing or installed incorrectly&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;P&gt;&lt;SPAN&gt;In an elevated (administrator permissions) command prompt execute one of the following:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;lodctr /R&lt;/PRE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;C:\Windows\SysWOW64&amp;gt;lodctr /R&lt;/PRE&gt;
&lt;P&gt;Source:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd363694(v=ws.10)?redirectedfrom=MSDN" target="_self"&gt;Event ID 3012 — Performance Counter Loading &lt;/A&gt;&amp;nbsp;(Microsoft .com)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Performance Counter Disabled in Registry for OS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The Performance Counters might have been disabled on the Operating System Level.&lt;BR /&gt;Verify the following registry key:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfOS\Performance&lt;BR /&gt;Disable Performance Counters should be set to 0&lt;/SPAN&gt;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Performance Counter Permissions&lt;/STRONG&gt;&lt;/H5&gt;
&lt;P&gt;&lt;SPAN&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Access-to-the-registry-key-Global-is-denied-The-account-doesn-t/ta-p/1711655" target="_blank" rel="noopener"&gt;Access to the registry key 'Global' is denied. The account doesn't have the proper rights to the registry.&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;QVPR (QlikView Publisher Repository) invalid&lt;/STRONG&gt;&lt;/H3&gt;
&lt;DIV&gt;Windows Event log and QlikView Distribution Service Cluster log&amp;nbsp;may show:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Exception=System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;or&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;System.NullReferenceException: Object reference not set to an instance&amp;nbsp;of an object&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;To solve&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;For instructions on how to restore a backup, see:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-To-Restore-the-QVPR-From-Backup-or-Recreate-the-QVPR/ta-p/1710837" target="_blank" rel="nofollow noopener noreferrer"&gt;How To: Restore the QVPR From Backup or Recreate the QVPR&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;FIPS enabled&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;FIPS may be enabled.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H5 id="toc-hId-1955463595"&gt;The Windows Application log reads:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Exception when creating CryptoServiceProvider: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. Local Security Policy -&amp;gt; Security Options -&amp;gt; System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing - should be disabled&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;And a .Net Runtime error:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Exception Info: System.InvalidOperationsException&lt;BR /&gt;at&amp;nbsp;System.Security.Cryptography.MD5CryptoServiceProvider..ctor()&lt;BR /&gt;at QDSMain.Clustering.DefaultClusterNotification.Work.Thread()&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/H5&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;To solve&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;FIPS is not supported with QlikView. See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Distribution-Service-will-not-Start-Error-1067-or-Event-ID-1026/ta-p/1715255" target="_blank" rel="noopener"&gt;Distribution Service will not Start Error 1067 or Event ID 1026 in Server Logs&lt;/A&gt;&amp;nbsp;for details.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Oct 2020 12:51:11 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2020-10-12T12:51:11Z</dc:date>
    <item>
      <title>QlikView Distribution Service error on start-up 1067: Process terminated unexpectedly</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Distribution-Service-error-on-start-up-1067-Process/ta-p/1712527</link>
      <description>&lt;P&gt;The QlikView Distribution Service fails to start. Windows displays the following error:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Error 1067: Process terminated unexpectedly&lt;/SPAN&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;See Figure 1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fig 1" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41903i8C8B5CF54B8F1200/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikView Distribution Service Can Not Be Started And Error _1067.png" alt="Fig 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Fig 1&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This can be caused by a range of issues. We will break down the most common ones.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To begin identifying the root cause, the following logs files are crucial:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Windows System Event log&lt;/LI&gt;
&lt;LI&gt;Windows Application Event log&lt;/LI&gt;
&lt;LI&gt;Distribution Service service log (default location: &lt;FONT face="courier new,courier"&gt;C:\ProgramData\QlikTech\Distribution Service\Log&lt;/FONT&gt;)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Application Data Folder&amp;nbsp;Permissions&amp;nbsp;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;The Windows System Event logs record:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;The service must have sufficient permissions in Publisher Application Data Folder&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;To solve&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Verify that the QlikView Service account has full read and write and modify permissions on&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\ProgramData\QlikTech\DistributionService&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;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.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Individual files in the Application Data folder may be corrupted.&amp;nbsp;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;The folder&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\ProgramData\QlikTech\DistributionService&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;can be recreated&lt;/LI&gt;
&lt;LI&gt;Stop the Distribution Service&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Rename the &lt;FONT face="courier new,courier"&gt;\DistributionService&lt;/FONT&gt; folder&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Start the Distribution Service&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;QVB and DCOM&amp;nbsp;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;missing registry keys&lt;/LI&gt;
&lt;LI&gt;missing GUID&lt;/LI&gt;
&lt;LI&gt;incorrect COM control permissions.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The Windows System Event logs record:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;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()&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;The service must have sufficient permissions in Publisher Application Data Folder: "C:\ProgramData\QlikTech\DistributionService".&lt;BR /&gt;Exception=System.NullReferenceExceptions: Object referenced not set to an instance of an object&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;To solve&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Register the QVB.exe (QlikView Batch engine):&lt;/STRONG&gt;&lt;/H5&gt;
&lt;OL&gt;
&lt;LI&gt;Open windows file explorer&lt;/LI&gt;
&lt;LI&gt;Locate qvb.exe, default location&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\Program Files\QlikView\Distribution Service\&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Double click on &lt;FONT face="courier new,courier"&gt;qvb.exe&lt;/FONT&gt; to&amp;nbsp;create the necessary Windows registry keys and GUID.&lt;/LI&gt;
&lt;LI&gt;Restart the Windows host&lt;/LI&gt;
&lt;/OL&gt;
&lt;H5&gt;&lt;STRONG&gt;Manually configure the DCOM permissions:&lt;/STRONG&gt;&lt;/H5&gt;
&lt;OL&gt;
&lt;LI&gt;Start &lt;EM&gt;Run &lt;/EM&gt;with &lt;STRONG&gt;Windows key + R&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Run &lt;EM&gt;&lt;STRONG&gt;DCOMCNFG.EXE&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Expand the &lt;STRONG&gt;Console Root&lt;/STRONG&gt;&amp;nbsp; &amp;gt;&lt;STRONG&gt; Component Services&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Computers&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;My Computer&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;DCOM Config&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Locate&amp;nbsp;&lt;STRONG&gt;QlikViewBatch 7.0 Application&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Right-click. Choose properties&lt;/LI&gt;
&lt;LI&gt;Select the Security tab&lt;/LI&gt;
&lt;LI&gt;On &lt;STRONG&gt;Launch and Activation Permissions&lt;/STRONG&gt; choose &lt;STRONG&gt;Customize&lt;/STRONG&gt; and press &lt;STRONG&gt;Edit&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Add the QlikView Service account&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Check the options
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;Local Launch&lt;/LI&gt;
&lt;LI&gt;Remote Launch&lt;/LI&gt;
&lt;LI&gt;Local Activation&lt;/LI&gt;
&lt;LI&gt;Remote Activation&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Save and try starting the QlikView Distribution Service&lt;/LI&gt;
&lt;LI&gt;If it still fails, repeat steps 7-10 for the "Access Permissions" and "Configuration Permissions" sections on the "Security" tab&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If the above fail, run a Repair on the Distribution Service Node&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Broken Performance Counters&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Windows Performance Counters may need to be repaired.&lt;/P&gt;
&lt;P&gt;The Distribution Service Application log or Windows Application log read:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;Exception=System.InvalidOperationException: Category does not exist.&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&amp;nbsp;at System.Diagnostics.&lt;STRONG&gt;PerformanceCounterLib&lt;/STRONG&gt;.CounterExists(String machine, String category, String counter)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;at System.Diagnostics.&lt;STRONG&gt;PerformanceCounter&lt;/STRONG&gt;.InitializeImpl()&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;at System.Diagnostics.&lt;STRONG&gt;PerformanceCounter&lt;/STRONG&gt;..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;at System.Diagnostics.&lt;STRONG&gt;PerformanceCounter&lt;/STRONG&gt;..ctor(String categoryName, String counterName, String instanceName)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;at QDSMain.Diagnostics.QDSDiagnostic.get_Instance()&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;To solve&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Verify that the correct .NET Framework version is installed&lt;/STRONG&gt;&lt;/H5&gt;
&lt;P&gt;Review the &lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Content/QV_HelpSites/System-requirements.htm" target="_blank" rel="noopener"&gt;System Requirements&lt;/A&gt; for your respective QlikView version.&amp;nbsp;&lt;/P&gt;
&lt;H5 id="toc-hId--299470913"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Performance counters missing or installed incorrectly&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;P&gt;&lt;SPAN&gt;In an elevated (administrator permissions) command prompt execute one of the following:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;lodctr /R&lt;/PRE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;C:\Windows\SysWOW64&amp;gt;lodctr /R&lt;/PRE&gt;
&lt;P&gt;Source:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd363694(v=ws.10)?redirectedfrom=MSDN" target="_self"&gt;Event ID 3012 — Performance Counter Loading &lt;/A&gt;&amp;nbsp;(Microsoft .com)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Performance Counter Disabled in Registry for OS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The Performance Counters might have been disabled on the Operating System Level.&lt;BR /&gt;Verify the following registry key:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfOS\Performance&lt;BR /&gt;Disable Performance Counters should be set to 0&lt;/SPAN&gt;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Performance Counter Permissions&lt;/STRONG&gt;&lt;/H5&gt;
&lt;P&gt;&lt;SPAN&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Access-to-the-registry-key-Global-is-denied-The-account-doesn-t/ta-p/1711655" target="_blank" rel="noopener"&gt;Access to the registry key 'Global' is denied. The account doesn't have the proper rights to the registry.&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;QVPR (QlikView Publisher Repository) invalid&lt;/STRONG&gt;&lt;/H3&gt;
&lt;DIV&gt;Windows Event log and QlikView Distribution Service Cluster log&amp;nbsp;may show:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Exception=System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;or&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;System.NullReferenceException: Object reference not set to an instance&amp;nbsp;of an object&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;To solve&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;For instructions on how to restore a backup, see:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-To-Restore-the-QVPR-From-Backup-or-Recreate-the-QVPR/ta-p/1710837" target="_blank" rel="nofollow noopener noreferrer"&gt;How To: Restore the QVPR From Backup or Recreate the QVPR&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;FIPS enabled&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;FIPS may be enabled.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H5 id="toc-hId-1955463595"&gt;The Windows Application log reads:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Exception when creating CryptoServiceProvider: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. Local Security Policy -&amp;gt; Security Options -&amp;gt; System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing - should be disabled&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;And a .Net Runtime error:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Exception Info: System.InvalidOperationsException&lt;BR /&gt;at&amp;nbsp;System.Security.Cryptography.MD5CryptoServiceProvider..ctor()&lt;BR /&gt;at QDSMain.Clustering.DefaultClusterNotification.Work.Thread()&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/H5&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;To solve&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;FIPS is not supported with QlikView. See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Distribution-Service-will-not-Start-Error-1067-or-Event-ID-1026/ta-p/1715255" target="_blank" rel="noopener"&gt;Distribution Service will not Start Error 1067 or Event ID 1026 in Server Logs&lt;/A&gt;&amp;nbsp;for details.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 12:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Distribution-Service-error-on-start-up-1067-Process/ta-p/1712527</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2020-10-12T12:51:11Z</dc:date>
    </item>
  </channel>
</rss>

