<?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: QlikView server 12.2 IQMS2.ClearQVSCache method fails with authorization error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-server-12-2-IQMS2-ClearQVSCache-method-fails-with/m-p/75190#M12442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answer for those trying to migrate from QlikView Server 11.2 to QlikView Server 12.2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView server 11.2 requires the &lt;STRONG&gt;Active Directory&lt;/STRONG&gt; group &lt;EM&gt;QlikView Management API &lt;/EM&gt;while QlikView server 12.2 requires the &lt;STRONG&gt;local &lt;/STRONG&gt;group &lt;EM&gt;QlikView Management API &lt;/EM&gt;&lt;SPAN style="text-decoration: underline;"&gt;and there &lt;STRONG&gt;must not&lt;/STRONG&gt; be an AD group of the same name.&lt;/SPAN&gt;&amp;nbsp; Therefore Qv server 11.2 and 12.2 cannot run at the same time (2 licenses) on the same domain.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To install 12.2, delete the &lt;EM style="font-size: 13.3333px;"&gt;QlikView Management API &lt;/EM&gt;AD group, add the &lt;EM style="font-size: 13.3333px;"&gt;QlikView Management API &lt;/EM&gt;local group &lt;SPAN style="font-size: 13.3333px;"&gt;on the server &lt;/SPAN&gt;and assign service level account as member,&amp;nbsp; restart all 5 Qlik services.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2018 23:22:11 GMT</pubDate>
    <dc:creator>spalmisano</dc:creator>
    <dc:date>2018-03-02T23:22:11Z</dc:date>
    <item>
      <title>QlikView server 12.2 IQMS2.ClearQVSCache method fails with authorization error</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-server-12-2-IQMS2-ClearQVSCache-method-fails-with/m-p/75189#M12441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone run into this issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a C# program that obtains the service key and calls ClearQVSCache method.&amp;nbsp; This program works in QlikView server 11.2 with the IQMS API.&amp;nbsp; However in 12.2 &lt;STRONG&gt;both&lt;/STRONG&gt; the IQMS and &lt;STRONG&gt;IQMS2&lt;/STRONG&gt; API methods fail with the error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Unhandled Exception: System.ServiceModel.FaultException: Authorization failed fo&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;r user ___"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;Also frustratingly, is that the API code example for IQMS2 has the code for the deprecated IQMS...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://help.qlik.com/en-US/qlikview-developer/November2017/apis/QMS+API/html/M_PIX_Services_V12_Api2_IQMS2_ClearQVSCache.htm" title="https://help.qlik.com/en-US/qlikview-developer/November2017/apis/QMS+API/html/M_PIX_Services_V12_Api2_IQMS2_ClearQVSCache.htm"&gt;https://help.qlik.com/en-US/qlikview-developer/November2017/apis/QMS+API/html/M_PIX_Services_V12_Api2_IQMS2_ClearQVSCach…&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;C# code that works fine on 11.2 when IQMS2 is changed to IQMS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;using System;&lt;/P&gt;&lt;P&gt;using System.Collections.Generic;&lt;/P&gt;&lt;P&gt;using System.Linq;&lt;/P&gt;&lt;P&gt;using System.Text;&lt;/P&gt;&lt;P&gt;using System.Threading.Tasks;&lt;/P&gt;&lt;P&gt;using QMSAPIv12p2.ServiceReferenceIQMS2;&lt;/P&gt;&lt;P&gt;using QMSAPIv12p2.ServiceSupport;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;namespace QMSAPIv12p2&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class Program&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; static void Main(string[] args)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string serverName = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://qlikserver2:4799/QMS/Service" rel="nofollow" target="_blank"&gt;http://qlikserver2:4799/QMS/Service&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IQMS2 apiClient = new QMS2Client("BasicHttpBinding_IQMS2", serverName);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string key = apiClient.GetTimeLimitedServiceKey();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ServiceKeyClientMessageInspector.ServiceKey = key;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; apiClient.ClearQVSCache(QVSCacheObjects.UserDocumentList);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 19:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-server-12-2-IQMS2-ClearQVSCache-method-fails-with/m-p/75189#M12441</guid>
      <dc:creator>spalmisano</dc:creator>
      <dc:date>2018-02-22T19:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView server 12.2 IQMS2.ClearQVSCache method fails with authorization error</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-server-12-2-IQMS2-ClearQVSCache-method-fails-with/m-p/75190#M12442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answer for those trying to migrate from QlikView Server 11.2 to QlikView Server 12.2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView server 11.2 requires the &lt;STRONG&gt;Active Directory&lt;/STRONG&gt; group &lt;EM&gt;QlikView Management API &lt;/EM&gt;while QlikView server 12.2 requires the &lt;STRONG&gt;local &lt;/STRONG&gt;group &lt;EM&gt;QlikView Management API &lt;/EM&gt;&lt;SPAN style="text-decoration: underline;"&gt;and there &lt;STRONG&gt;must not&lt;/STRONG&gt; be an AD group of the same name.&lt;/SPAN&gt;&amp;nbsp; Therefore Qv server 11.2 and 12.2 cannot run at the same time (2 licenses) on the same domain.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To install 12.2, delete the &lt;EM style="font-size: 13.3333px;"&gt;QlikView Management API &lt;/EM&gt;AD group, add the &lt;EM style="font-size: 13.3333px;"&gt;QlikView Management API &lt;/EM&gt;local group &lt;SPAN style="font-size: 13.3333px;"&gt;on the server &lt;/SPAN&gt;and assign service level account as member,&amp;nbsp; restart all 5 Qlik services.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 23:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-server-12-2-IQMS2-ClearQVSCache-method-fails-with/m-p/75190#M12442</guid>
      <dc:creator>spalmisano</dc:creator>
      <dc:date>2018-03-02T23:22:11Z</dc:date>
    </item>
  </channel>
</rss>

