<?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 Distribute to cloud fails: The type initializer for System.IdentityModel.Tokens.Jwt.JsonExtensions threw an exception. in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Distribute-to-cloud-fails-The-type-initializer-for/ta-p/1874597</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;QlikView fails to distribute QVW files to Qlik Cloud. When turning on the QlikView Distribution debug logging, the following error is output in the task log:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Error failure. GetJWT failed. Message = the type initializer for System.IdentityModel.Tokens.Jwt.JsonExtensions threw an exception.&lt;/LI-CODE&gt;
&lt;P&gt;or error while attempting to Distribute:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;QDSMain.Exceptions.DistributeToResourcesFailedException: Distribute to resource failed. ---&amp;gt; System.Exception: Distribute to cloud exception failed&lt;/LI-CODE&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environments:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;12.50 and later&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise SaaS" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Check the following points:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Make sure that all required DLLs are present in the&amp;nbsp;C:\Program Files\QlikView\Distribution Service&amp;nbsp; (&lt;SPAN&gt;Newtonsoft.Json.dll, Microsoft.IdentityModel.Tokens.dll, PIX.dll)&amp;nbsp;&lt;/SPAN&gt;on the server hosting the QlikView Distribution Service.&lt;/LI&gt;
&lt;LI&gt;Open&amp;nbsp;C:\Program Files\QlikView\Distribution Service \&lt;SPAN&gt;&lt;SPAN&gt;QVDistributionService.exe.config in a text editor and make sure the following block is present in the&amp;nbsp;assemblyBinding section:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&amp;gt;
      &amp;lt;dependentAssembly&amp;gt;
        &amp;lt;assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /&amp;gt;
        &amp;lt;bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" /&amp;gt;
      &amp;lt;/dependentAssembly&amp;gt;
    &amp;lt;/assemblyBinding&amp;gt;&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Restart the QlikView Distribution service.&lt;/LI&gt;
&lt;LI&gt;Repeat the steps on all available Distribution Services.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;NOTE: For 12.70 SR1 and later the version is 13:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" /&amp;gt;&lt;/LI-CODE&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 17 Nov 2022 17:53:53 GMT</pubDate>
    <dc:creator>Damien_V</dc:creator>
    <dc:date>2022-11-17T17:53:53Z</dc:date>
    <item>
      <title>QlikView Distribute to cloud fails: The type initializer for System.IdentityModel.Tokens.Jwt.JsonExtensions threw an exception.</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Distribute-to-cloud-fails-The-type-initializer-for/ta-p/1874597</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;QlikView fails to distribute QVW files to Qlik Cloud. When turning on the QlikView Distribution debug logging, the following error is output in the task log:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Error failure. GetJWT failed. Message = the type initializer for System.IdentityModel.Tokens.Jwt.JsonExtensions threw an exception.&lt;/LI-CODE&gt;
&lt;P&gt;or error while attempting to Distribute:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;QDSMain.Exceptions.DistributeToResourcesFailedException: Distribute to resource failed. ---&amp;gt; System.Exception: Distribute to cloud exception failed&lt;/LI-CODE&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environments:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;12.50 and later&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise SaaS" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Check the following points:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Make sure that all required DLLs are present in the&amp;nbsp;C:\Program Files\QlikView\Distribution Service&amp;nbsp; (&lt;SPAN&gt;Newtonsoft.Json.dll, Microsoft.IdentityModel.Tokens.dll, PIX.dll)&amp;nbsp;&lt;/SPAN&gt;on the server hosting the QlikView Distribution Service.&lt;/LI&gt;
&lt;LI&gt;Open&amp;nbsp;C:\Program Files\QlikView\Distribution Service \&lt;SPAN&gt;&lt;SPAN&gt;QVDistributionService.exe.config in a text editor and make sure the following block is present in the&amp;nbsp;assemblyBinding section:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&amp;gt;
      &amp;lt;dependentAssembly&amp;gt;
        &amp;lt;assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /&amp;gt;
        &amp;lt;bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" /&amp;gt;
      &amp;lt;/dependentAssembly&amp;gt;
    &amp;lt;/assemblyBinding&amp;gt;&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Restart the QlikView Distribution service.&lt;/LI&gt;
&lt;LI&gt;Repeat the steps on all available Distribution Services.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;NOTE: For 12.70 SR1 and later the version is 13:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" /&amp;gt;&lt;/LI-CODE&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Nov 2022 17:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Distribute-to-cloud-fails-The-type-initializer-for/ta-p/1874597</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2022-11-17T17:53:53Z</dc:date>
    </item>
  </channel>
</rss>

