<?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 Directory Service Connector service cannot be started with Error 1067 in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlikview-Directory-Service-Connector-service-cannot-be-started/ta-p/1717047</link>
    <description>&lt;P&gt;The Service Qlikview Directory Service Connector (QSC) can not be started. When attempting to start the service in the User Interface following error can be observed:&lt;/P&gt;
&lt;P style="margin-left: 40px;"&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;Error 1067: The process terminated unexpectedly&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;In the Application logs of Windows Events there are three known types of errors that may appear:&lt;BR /&gt;&lt;BR /&gt;1. For Application: QVDirectoryServiceConnector can be observed:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Shutting down the service since there are data with invalid encryption. To continue, activate the 'EraseUndecryptableData' config flag by setting it to true in the config file to erase the invalid data"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. The second one indicates a different issue if present:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Source: .NET Runtime&lt;BR /&gt;Application: QVDirectoryServiceConnector.exe&lt;BR /&gt;Description: The process was terminated due to an unhandled exception&lt;BR /&gt;&lt;BR /&gt;Exception Info: System.ServiceModel.&lt;STRONG&gt;AddressAccessDeniedException&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3. See &lt;A href="https://community.qlik.com/t5/Qlik-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;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-left: 40px;"&gt;QlikView any version&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="qlik-migrated-tkb-headings"&gt;&lt;STRONG&gt;Cause:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;For the two types of error described respectively:&lt;BR /&gt;&lt;BR /&gt;1. At start-up, each service validates all its encrypted data entries to ensure they are accessible. If the service encounters data that cannot be decrypted, it reports it as an error and stops its own execution.&lt;BR /&gt;&lt;BR /&gt;2. QlikView Service account requires Local Administrative permissions. See &lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Server/Content/QV_Server/QlikView-Server/QVSRM_Service_by_Service.htm" target="_blank" rel="noopener"&gt;Services &lt;/A&gt;for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;For the first two types of error described respectively:&lt;BR /&gt;&lt;BR /&gt;1. The process for erasing the "UndecryptableData" is fairly straight-forward but requires you to add a value to the &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;QVDirectoryServiceConnector.exe.config&lt;/STRONG&gt;&lt;/SPAN&gt; file, unless it is already present, and the below steps will detail how to do that.&lt;BR /&gt;&lt;BR /&gt;For an overview on this topic, please review the QlikView online help chapter on&lt;A href="https://help.qlik.com/en-US/qlikview/Subsystems/Server/Content/QV_Server/QlikView-Server/QVSRM_CertificateTrustNew.htm" target="_blank" rel="noopener"&gt; Certificate Trust&lt;/A&gt;, in particular the Undecryptable Data section.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Make sure the QlikView Directory Connector service is stopped from the Windows Services console.&lt;/LI&gt;
&lt;LI&gt;Locate the file called&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt; QVDirectoryServiceConnector.exe.config&lt;/STRONG&gt;&lt;/SPAN&gt; by default located in&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt; "C:\Program Files\QlikView\Directory Service Connector"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Open the file in a text editor, Notepad for example.&lt;/LI&gt;
&lt;LI&gt;Add the following section to the config file, somewhere under&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV style="margin-left: 40px;"&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;lt;!-- ****** QlikView Directory Connector Service - BACKEND ****** --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;?for example&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;lt;!-- Set to true if the Directory Service Connector service will not start due to being unable to decrypt after upgrade --&amp;gt;&amp;nbsp;&lt;BR /&gt;&amp;lt;add key="EraseUndecryptableData" value="true"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;If that section does not exist, it can be added somewhere under&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;lt;appSettings&amp;gt;&amp;nbsp;&lt;/SPAN&gt;For example:&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV style="margin-left: 40px;"&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp; &amp;lt;appSettings&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- ****** General ****** --&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left: 80px;"&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;lt;!-- Set to true if the Directory Service Connector service will not start due to being unable to decrypt after upgrade --&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left: 80px;"&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;lt;add key="EraseUndecryptableData" value="true"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;Save the file in the original location.&lt;/LI&gt;
&lt;LI&gt;Start the QlikView Directory Service Connector service from Windows Services console. It will fail to start, but it will delete de decryption.&lt;/LI&gt;
&lt;LI&gt;Open again&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;QVDirectoryServiceConnector.exe.config &lt;/STRONG&gt;&lt;/SPAN&gt;file and remove the previously added “EraseUndecryptableData” entry.&lt;/LI&gt;
&lt;LI&gt;Save the file in the original location.&lt;/LI&gt;
&lt;LI&gt;Start the QlikView Directory Service Connector service from Windows Services console.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;2. Grant the QlikView Directory Service Connector service account local Administrative rights.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 06:36:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-17T06:36:42Z</dc:date>
    <item>
      <title>Qlikview Directory Service Connector service cannot be started with Error 1067</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlikview-Directory-Service-Connector-service-cannot-be-started/ta-p/1717047</link>
      <description>&lt;P&gt;The Service Qlikview Directory Service Connector (QSC) can not be started. When attempting to start the service in the User Interface following error can be observed:&lt;/P&gt;
&lt;P style="margin-left: 40px;"&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;Error 1067: The process terminated unexpectedly&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;In the Application logs of Windows Events there are three known types of errors that may appear:&lt;BR /&gt;&lt;BR /&gt;1. For Application: QVDirectoryServiceConnector can be observed:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Shutting down the service since there are data with invalid encryption. To continue, activate the 'EraseUndecryptableData' config flag by setting it to true in the config file to erase the invalid data"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. The second one indicates a different issue if present:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Source: .NET Runtime&lt;BR /&gt;Application: QVDirectoryServiceConnector.exe&lt;BR /&gt;Description: The process was terminated due to an unhandled exception&lt;BR /&gt;&lt;BR /&gt;Exception Info: System.ServiceModel.&lt;STRONG&gt;AddressAccessDeniedException&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3. See &lt;A href="https://community.qlik.com/t5/Qlik-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;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-left: 40px;"&gt;QlikView any version&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="qlik-migrated-tkb-headings"&gt;&lt;STRONG&gt;Cause:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;For the two types of error described respectively:&lt;BR /&gt;&lt;BR /&gt;1. At start-up, each service validates all its encrypted data entries to ensure they are accessible. If the service encounters data that cannot be decrypted, it reports it as an error and stops its own execution.&lt;BR /&gt;&lt;BR /&gt;2. QlikView Service account requires Local Administrative permissions. See &lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Server/Content/QV_Server/QlikView-Server/QVSRM_Service_by_Service.htm" target="_blank" rel="noopener"&gt;Services &lt;/A&gt;for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;For the first two types of error described respectively:&lt;BR /&gt;&lt;BR /&gt;1. The process for erasing the "UndecryptableData" is fairly straight-forward but requires you to add a value to the &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;QVDirectoryServiceConnector.exe.config&lt;/STRONG&gt;&lt;/SPAN&gt; file, unless it is already present, and the below steps will detail how to do that.&lt;BR /&gt;&lt;BR /&gt;For an overview on this topic, please review the QlikView online help chapter on&lt;A href="https://help.qlik.com/en-US/qlikview/Subsystems/Server/Content/QV_Server/QlikView-Server/QVSRM_CertificateTrustNew.htm" target="_blank" rel="noopener"&gt; Certificate Trust&lt;/A&gt;, in particular the Undecryptable Data section.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Make sure the QlikView Directory Connector service is stopped from the Windows Services console.&lt;/LI&gt;
&lt;LI&gt;Locate the file called&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt; QVDirectoryServiceConnector.exe.config&lt;/STRONG&gt;&lt;/SPAN&gt; by default located in&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt; "C:\Program Files\QlikView\Directory Service Connector"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Open the file in a text editor, Notepad for example.&lt;/LI&gt;
&lt;LI&gt;Add the following section to the config file, somewhere under&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV style="margin-left: 40px;"&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;lt;!-- ****** QlikView Directory Connector Service - BACKEND ****** --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;?for example&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;lt;!-- Set to true if the Directory Service Connector service will not start due to being unable to decrypt after upgrade --&amp;gt;&amp;nbsp;&lt;BR /&gt;&amp;lt;add key="EraseUndecryptableData" value="true"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;If that section does not exist, it can be added somewhere under&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;lt;appSettings&amp;gt;&amp;nbsp;&lt;/SPAN&gt;For example:&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV style="margin-left: 40px;"&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp; &amp;lt;appSettings&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- ****** General ****** --&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left: 80px;"&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;lt;!-- Set to true if the Directory Service Connector service will not start due to being unable to decrypt after upgrade --&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left: 80px;"&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;lt;add key="EraseUndecryptableData" value="true"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;Save the file in the original location.&lt;/LI&gt;
&lt;LI&gt;Start the QlikView Directory Service Connector service from Windows Services console. It will fail to start, but it will delete de decryption.&lt;/LI&gt;
&lt;LI&gt;Open again&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;QVDirectoryServiceConnector.exe.config &lt;/STRONG&gt;&lt;/SPAN&gt;file and remove the previously added “EraseUndecryptableData” entry.&lt;/LI&gt;
&lt;LI&gt;Save the file in the original location.&lt;/LI&gt;
&lt;LI&gt;Start the QlikView Directory Service Connector service from Windows Services console.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;2. Grant the QlikView Directory Service Connector service account local Administrative rights.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 06:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlikview-Directory-Service-Connector-service-cannot-be-started/ta-p/1717047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-17T06:36:42Z</dc:date>
    </item>
  </channel>
</rss>

