<?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>topic Re: Unable to restart the QV Directory Service Connector in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396734#M423916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, we solved it. The fix was not working because I initially did not place the&amp;nbsp; EraseUndecryptableData flag in the right part of the XML. After a few tries we got it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tamara &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Sep 2017 13:41:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-04T13:41:02Z</dc:date>
    <item>
      <title>Unable to restart the QV Directory Service Connector</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396731#M423913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if maybe someone has come acrossed this issue before.&lt;/P&gt;&lt;P&gt;Suddenly the QV Directory Service Connector is down in Production and I am unable to restart it.&lt;/P&gt;&lt;P&gt;I have checked the logs and can see the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20170814T074825.295+0200 Information Initializing service&lt;/P&gt;&lt;P&gt;20170814T074825.489+0200 Error Exception while decrypting. EncryptedText length=8 chars Exception=System.Security.Cryptography.CryptographicException: Bad Data. ||&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Security.Cryptography.Utils._DecryptData(SafeKeyHandle hKey, Byte[] data, Int32 ib, Int32 cb, Byte[]&amp;amp; outputBuffer, Int32 outputOffset, PaddingMode PaddingMode, Boolean fDone) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Security.Cryptography.CryptoStream.FlushFinalBlock() ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.IO.Stream.Close() ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at SolutionGlobal.Security.CryptoAlgorithm.Decrypt(EncryptedSecret encryptedSecret, Boolean isCurrentAlgorithm)&lt;/P&gt;&lt;P&gt;20170814T074825.503+0200 Error Exception while decrypting. EncryptedText length=8 chars Exception=System.Security.Cryptography.CryptographicException: Bad Data. ||&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Security.Cryptography.Utils._DecryptData(SafeKeyHandle hKey, Byte[] data, Int32 ib, Int32 cb, Byte[]&amp;amp; outputBuffer, Int32 outputOffset, PaddingMode PaddingMode, Boolean fDone) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Security.Cryptography.CryptoStream.FlushFinalBlock() ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.IO.Stream.Close() ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at SolutionGlobal.Security.CryptoAlgorithm.Decrypt(EncryptedSecret encryptedSecret, Boolean isCurrentAlgorithm)&lt;/P&gt;&lt;P&gt;20170814T074825.524+0200 Error Found 2 item(s) with invalid encryption. Follows here in the log file:&lt;/P&gt;&lt;P&gt;20170814T074825.535+0200 Information Invalid encryption: XML file "C:\ProgramData\QlikTech\DirectoryServiceConnector\Resources\377f0086-6304-47c4-98b5-9ecb2066b443.xml", node "/dscresource/uid".&lt;/P&gt;&lt;P&gt;20170814T074825.544+0200 Information Invalid encryption: XML file "C:\ProgramData\QlikTech\DirectoryServiceConnector\Resources\377f0086-6304-47c4-98b5-9ecb2066b443.xml", node "/dscresource/pwd".&lt;/P&gt;&lt;P&gt;20170814T074825.554+0200 Error 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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the EraseUndecryptableData flag to the QVDirectoryServiceConnector config file but it makes no difference though not sure if I am placing it in the right section of the XML file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please any ideas would be really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tamara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 12:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396731#M423913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-14T12:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to restart the QV Directory Service Connector</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396732#M423914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;having same issue but with QMC. Have you solved this?&lt;/P&gt;&lt;P&gt;R,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 09:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396732#M423914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-01T09:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to restart the QV Directory Service Connector</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396733#M423915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Server/Content/QlikView%20Server/QVSRM_Certificate_Trust.htm#Configur" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Server/Content/QlikView%20Server/QVSRM_Certificate_Trust.htm#Configur"&gt;http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Server/Content/QlikView%20Server/QVSRM_Certificate_Trust.htm#Configur&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;appSettings&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- ****** General ****** --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;add key="EraseUndecryptableData" value="true"/&amp;gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 13:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396733#M423915</guid>
      <dc:creator>eerzmianagal</dc:creator>
      <dc:date>2017-09-04T13:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to restart the QV Directory Service Connector</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396734#M423916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, we solved it. The fix was not working because I initially did not place the&amp;nbsp; EraseUndecryptableData flag in the right part of the XML. After a few tries we got it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tamara &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 13:41:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396734#M423916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-04T13:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to restart the QV Directory Service Connector</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396735#M423917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please advise after which line you enter the EraseUndecryptableData flag?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after adding this did you restarted all services?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Muhammad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 10:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396735#M423917</guid>
      <dc:creator>m_sharif</dc:creator>
      <dc:date>2017-11-06T10:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to restart the QV Directory Service Connector</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396736#M423918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the guidance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a note for the future people needing to do this, once you restart the service, it will fail again but place a new message in the system logs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 2pt; margin-bottom: 2pt; padding-left: 30px;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'times new roman', times;"&gt;&lt;EM style="color: #0000ff;"&gt;Found # item(s) with invalid encryption that will be erased since the EraseUndecryptableData flag is active.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 30px;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'times new roman', times;"&gt;&lt;EM style="color: #0000ff;"&gt;Shutting down service since the EraseUndecryptableData flag is activated. Turn off this flag before restarting the service.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Segoe UI',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;You must then comment out this extra line in your QVDirectoryServiceConnector.exe.config file and restart the service once more.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Philippe&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 14:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396736#M423918</guid>
      <dc:creator>pgrenier</dc:creator>
      <dc:date>2018-08-17T14:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to restart the QV Directory Service Connector</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396737#M423919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erez! This helped solve the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 03:37:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396737#M423919</guid>
      <dc:creator>aadil_madarveet</dc:creator>
      <dc:date>2018-10-26T03:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to restart the QV Directory Service Connector</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396738#M423920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;SPAN style="color: #3d3d3d; font-size: 13.3333px;"&gt;Philippe!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px;"&gt;This is true. Helped solve the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 03:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-restart-the-QV-Directory-Service-Connector/m-p/1396738#M423920</guid>
      <dc:creator>aadil_madarveet</dc:creator>
      <dc:date>2018-10-26T03:38:07Z</dc:date>
    </item>
  </channel>
</rss>

