<?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 How To Recover Document CALs Assigned To A Deleted QVW in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Recover-Document-CALs-Assigned-To-A-Deleted-QVW/ta-p/1711237</link>
    <description>&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3l35-X0nmrc%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3l35-X0nmrc&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3l35-X0nmrc%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="200" height="112" scrolling="no" title="Qlik Fix Recover Document CALs" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Environments:&lt;/STRONG&gt;&lt;/H5&gt;
&lt;UL&gt;
&lt;LI&gt;Qlikview Server, all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;The number of Document CALs assigned does not match the number believed to be assigned.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Document CALs are lost.&amp;nbsp; In other words, if the user looks at each document and counts the number of Document CALS assigned to each, this number does not match what QlikView is showing in the Management Console.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The user may also notice that under Documents &amp;gt; User Documents there may be a QVW listed all in caps (MYQVW.QVW) that does not appear in the folder indicated.&amp;nbsp; This is a good indicator that this is the culprit.&lt;/P&gt;
&lt;P&gt;When deleting a QVW it is best to remove the assigned Document CALs first, then delete the QVW.&amp;nbsp; By doing this the Document CALs are released and put back into the pool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Scenario:&lt;/STRONG&gt;&lt;/H5&gt;
&lt;H5&gt;You have a total of 30 Doc Cals available at the beginning.&lt;/H5&gt;
&lt;H5&gt;You assign &lt;STRONG&gt;3&lt;/STRONG&gt; Doc CALS to a file named &lt;FONT face="courier new,courier"&gt;film.qvw&lt;/FONT&gt;. This leaves&amp;nbsp; &lt;STRONG&gt;27&lt;/STRONG&gt; Doc CALS unassigned.&lt;/H5&gt;
&lt;H5&gt;If you now rename the file name to &lt;FONT face="courier new,courier"&gt;film_1.qvw&lt;/FONT&gt; or remove to another folder, you will still see &lt;STRONG&gt;27&amp;nbsp;&lt;/STRONG&gt;Doc CALs available, not &lt;STRONG&gt;30&lt;/STRONG&gt;.&amp;nbsp;&lt;/H5&gt;
&lt;H5&gt;Restarting the services, deleting the .shared files does not resolve the issue.&amp;nbsp;&lt;/H5&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;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;There are 4&amp;nbsp;ways to resolve this problem. Which solution you choose depends on how many CALs you have lost.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Resolution 1:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop the QlikView Server service.&lt;/LI&gt;
&lt;LI&gt;Add &lt;FONT face="courier new,courier"&gt;PgoAsXmlAlso=1&lt;/FONT&gt; under &lt;FONT face="courier new,courier"&gt;[Settings 7]&lt;/FONT&gt; &amp;nbsp;in the &lt;FONT face="courier new,courier"&gt;Settings.ini file&lt;/FONT&gt; located in &lt;FONT face="courier new,courier"&gt;%ProgramData%\QlikTech\QlikViewServer&lt;/FONT&gt; (default location)&lt;/LI&gt;
&lt;LI&gt;Restart the QlikView Server service&lt;/LI&gt;
&lt;LI&gt;Navigate to Root Directory and Open the CalData.pgo.xml file to determine to which document the CALs&amp;nbsp;were assigned&lt;/LI&gt;
&lt;LI&gt;Create a new blank QVW file named the same as document listed in CalData.pgo.xml &amp;amp; save it in the related Mounted or Root folder reported in &lt;FONT face="courier new,courier"&gt;CalData.pgo.xml&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;In Management Console, navigate to Documents &amp;gt; User Documents and locate QWV created in the previous step .&lt;/LI&gt;
&lt;LI&gt;Click Document CALs tab and set Number of CALs allocated to this Document to zero and click Apply&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Note: &lt;/U&gt;&lt;/STRONG&gt;This resolution can be applied where the assigned CALs are HIGH in number.&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Resolution 2:&amp;nbsp;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Recreate-PGO-from-XML/ta-p/1714868" target="_blank" rel="noopener"&gt;Recreate PGO from XML&lt;/A&gt;; the solution involves taking a backup of the PGO files as XML and then recreating them manually in the QMC.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Note:&amp;nbsp;&lt;/U&gt;&lt;/STRONG&gt;This resolution can be applied where the assigned CALs are in HIGH in number if Resolution 1 is unsuccessful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Resolution 3: &lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop QVS and QMS as when you remove files it might still remain in the memory,&lt;/LI&gt;
&lt;LI&gt;And then delete both &lt;FONT face="courier new,courier"&gt;caldata.pgo&lt;/FONT&gt; file under the "user documents" and also "&lt;FONT face="courier new,courier"&gt;ProgramData\QlikTech\QlikViewServer&lt;/FONT&gt;"&lt;/LI&gt;
&lt;LI&gt;Restart the services&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Note:&amp;nbsp;&lt;/U&gt;&lt;/STRONG&gt;This resolution can be applied where the assigned CALs are in LOW in number.&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Resolution 4:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;Clear the license information and reapply again&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;U&gt;Note:&amp;nbsp;&lt;/U&gt;&lt;/STRONG&gt;This resolution can be applied where the assigned CALs are in LOW in number.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 09:46:29 GMT</pubDate>
    <dc:creator>Chip_Matejowsky</dc:creator>
    <dc:date>2020-10-23T09:46:29Z</dc:date>
    <item>
      <title>How To Recover Document CALs Assigned To A Deleted QVW</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Recover-Document-CALs-Assigned-To-A-Deleted-QVW/ta-p/1711237</link>
      <description>&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3l35-X0nmrc%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3l35-X0nmrc&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3l35-X0nmrc%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="200" height="112" scrolling="no" title="Qlik Fix Recover Document CALs" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Environments:&lt;/STRONG&gt;&lt;/H5&gt;
&lt;UL&gt;
&lt;LI&gt;Qlikview Server, all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;The number of Document CALs assigned does not match the number believed to be assigned.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Document CALs are lost.&amp;nbsp; In other words, if the user looks at each document and counts the number of Document CALS assigned to each, this number does not match what QlikView is showing in the Management Console.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The user may also notice that under Documents &amp;gt; User Documents there may be a QVW listed all in caps (MYQVW.QVW) that does not appear in the folder indicated.&amp;nbsp; This is a good indicator that this is the culprit.&lt;/P&gt;
&lt;P&gt;When deleting a QVW it is best to remove the assigned Document CALs first, then delete the QVW.&amp;nbsp; By doing this the Document CALs are released and put back into the pool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Scenario:&lt;/STRONG&gt;&lt;/H5&gt;
&lt;H5&gt;You have a total of 30 Doc Cals available at the beginning.&lt;/H5&gt;
&lt;H5&gt;You assign &lt;STRONG&gt;3&lt;/STRONG&gt; Doc CALS to a file named &lt;FONT face="courier new,courier"&gt;film.qvw&lt;/FONT&gt;. This leaves&amp;nbsp; &lt;STRONG&gt;27&lt;/STRONG&gt; Doc CALS unassigned.&lt;/H5&gt;
&lt;H5&gt;If you now rename the file name to &lt;FONT face="courier new,courier"&gt;film_1.qvw&lt;/FONT&gt; or remove to another folder, you will still see &lt;STRONG&gt;27&amp;nbsp;&lt;/STRONG&gt;Doc CALs available, not &lt;STRONG&gt;30&lt;/STRONG&gt;.&amp;nbsp;&lt;/H5&gt;
&lt;H5&gt;Restarting the services, deleting the .shared files does not resolve the issue.&amp;nbsp;&lt;/H5&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;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;There are 4&amp;nbsp;ways to resolve this problem. Which solution you choose depends on how many CALs you have lost.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Resolution 1:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop the QlikView Server service.&lt;/LI&gt;
&lt;LI&gt;Add &lt;FONT face="courier new,courier"&gt;PgoAsXmlAlso=1&lt;/FONT&gt; under &lt;FONT face="courier new,courier"&gt;[Settings 7]&lt;/FONT&gt; &amp;nbsp;in the &lt;FONT face="courier new,courier"&gt;Settings.ini file&lt;/FONT&gt; located in &lt;FONT face="courier new,courier"&gt;%ProgramData%\QlikTech\QlikViewServer&lt;/FONT&gt; (default location)&lt;/LI&gt;
&lt;LI&gt;Restart the QlikView Server service&lt;/LI&gt;
&lt;LI&gt;Navigate to Root Directory and Open the CalData.pgo.xml file to determine to which document the CALs&amp;nbsp;were assigned&lt;/LI&gt;
&lt;LI&gt;Create a new blank QVW file named the same as document listed in CalData.pgo.xml &amp;amp; save it in the related Mounted or Root folder reported in &lt;FONT face="courier new,courier"&gt;CalData.pgo.xml&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;In Management Console, navigate to Documents &amp;gt; User Documents and locate QWV created in the previous step .&lt;/LI&gt;
&lt;LI&gt;Click Document CALs tab and set Number of CALs allocated to this Document to zero and click Apply&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Note: &lt;/U&gt;&lt;/STRONG&gt;This resolution can be applied where the assigned CALs are HIGH in number.&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Resolution 2:&amp;nbsp;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Recreate-PGO-from-XML/ta-p/1714868" target="_blank" rel="noopener"&gt;Recreate PGO from XML&lt;/A&gt;; the solution involves taking a backup of the PGO files as XML and then recreating them manually in the QMC.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Note:&amp;nbsp;&lt;/U&gt;&lt;/STRONG&gt;This resolution can be applied where the assigned CALs are in HIGH in number if Resolution 1 is unsuccessful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Resolution 3: &lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop QVS and QMS as when you remove files it might still remain in the memory,&lt;/LI&gt;
&lt;LI&gt;And then delete both &lt;FONT face="courier new,courier"&gt;caldata.pgo&lt;/FONT&gt; file under the "user documents" and also "&lt;FONT face="courier new,courier"&gt;ProgramData\QlikTech\QlikViewServer&lt;/FONT&gt;"&lt;/LI&gt;
&lt;LI&gt;Restart the services&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Note:&amp;nbsp;&lt;/U&gt;&lt;/STRONG&gt;This resolution can be applied where the assigned CALs are in LOW in number.&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Resolution 4:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;Clear the license information and reapply again&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;U&gt;Note:&amp;nbsp;&lt;/U&gt;&lt;/STRONG&gt;This resolution can be applied where the assigned CALs are in LOW in number.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 09:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Recover-Document-CALs-Assigned-To-A-Deleted-QVW/ta-p/1711237</guid>
      <dc:creator>Chip_Matejowsky</dc:creator>
      <dc:date>2020-10-23T09:46:29Z</dc:date>
    </item>
  </channel>
</rss>

