<?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 strict exclusion...Failed to open document error in server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1655724#M448238</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have this scenario where i am using the same section access table out side of the section so that i can hide the sheets.&lt;/P&gt;&lt;P&gt;I am able to reload and see all the values in my desktop but when i move the qvw file i get the failed to open document even though i am in the admin group.&lt;/P&gt;&lt;P&gt;my section accss table looks like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 850px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25207i43E80F2778E0C412/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.JPG" alt="Capture1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;in my Flag field which is DATA_REDUCE i have ADMIN, HR, SALES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Start is *;
Section Access;
Security:
LOAD 
upper(NTNAME) 						as NTNAME,
upper(NTNAME) 						as SA_USER,
upper(USER) 						as USER,
If(upper(Flag)='ADMIN','*',upper(Flag))                  as DATA_REDUCE;
SQL SELECT *
FROM SA_Table;

Section Application;

GrpLevel:
LOAD
Upper(NTNAME) 		AS SA_USER,
Upper(GROUPNAME) 	AS GROUPNAME,
Upper(Sheet1Access) 	AS Sheet1Access,
Upper(Sheet2Access)    AS Sheet2Access,
Upper(Sheet3Access)                  AS Sheet3Access;
SQL SELECT * SA_Table;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;​I have HR, SALES, ADMIN in the section table while HR, SALES,NA in the data model table - when i reload and publih this qvw file to the server and go to the access point i cannot open the docuemnt even though i am the admin&lt;/P&gt;&lt;P&gt;- can someone please suggest - i think it is better to use the "strict exclusion" but if i check that i am getting error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2019 03:32:48 GMT</pubDate>
    <dc:creator>RheaQv12</dc:creator>
    <dc:date>2019-12-10T03:32:48Z</dc:date>
    <item>
      <title>strict exclusion...Failed to open document error in server</title>
      <link>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1655724#M448238</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have this scenario where i am using the same section access table out side of the section so that i can hide the sheets.&lt;/P&gt;&lt;P&gt;I am able to reload and see all the values in my desktop but when i move the qvw file i get the failed to open document even though i am in the admin group.&lt;/P&gt;&lt;P&gt;my section accss table looks like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 850px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25207i43E80F2778E0C412/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.JPG" alt="Capture1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;in my Flag field which is DATA_REDUCE i have ADMIN, HR, SALES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Start is *;
Section Access;
Security:
LOAD 
upper(NTNAME) 						as NTNAME,
upper(NTNAME) 						as SA_USER,
upper(USER) 						as USER,
If(upper(Flag)='ADMIN','*',upper(Flag))                  as DATA_REDUCE;
SQL SELECT *
FROM SA_Table;

Section Application;

GrpLevel:
LOAD
Upper(NTNAME) 		AS SA_USER,
Upper(GROUPNAME) 	AS GROUPNAME,
Upper(Sheet1Access) 	AS Sheet1Access,
Upper(Sheet2Access)    AS Sheet2Access,
Upper(Sheet3Access)                  AS Sheet3Access;
SQL SELECT * SA_Table;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;​I have HR, SALES, ADMIN in the section table while HR, SALES,NA in the data model table - when i reload and publih this qvw file to the server and go to the access point i cannot open the docuemnt even though i am the admin&lt;/P&gt;&lt;P&gt;- can someone please suggest - i think it is better to use the "strict exclusion" but if i check that i am getting error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 03:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1655724#M448238</guid>
      <dc:creator>RheaQv12</dc:creator>
      <dc:date>2019-12-10T03:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: strict exclusion...Failed to open document error in server</title>
      <link>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1655725#M448239</link>
      <description>&lt;P&gt;Take a look at this list of examples of creating SA:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/QlikView-Section-Access-Examples/ta-p/1492719" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/QlikView-Section-Access-Examples/ta-p/1492719&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Example 4 might be the one you are looking for.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 03:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1655725#M448239</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-12-10T03:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: strict exclusion...Failed to open document error in server</title>
      <link>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1656099#M448276</link>
      <description>&lt;P&gt;Hi Arthur/Hi All,&lt;/P&gt;&lt;P&gt;Based on the example 4 from Collin - It looks like i need to insert the DUMMY records - how many DUMMY records?&lt;/P&gt;&lt;P&gt;Find out the distinct values in the DATA_REDUCE field in the table in data model (not section access table) then insert those many DUMMY records - right? in my case i have 3 distinct values NA, HR, SALES in the DATA_REDUCE field in my data model table - so i need to insert 3 DUMMY Records - is this right?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 15:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1656099#M448276</guid>
      <dc:creator>RheaQv12</dc:creator>
      <dc:date>2019-12-10T15:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: strict exclusion...Failed to open document error in server</title>
      <link>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1656232#M448307</link>
      <description>&lt;P&gt;still getting the same issue.. i have the same values in both the table in data model and the section access table&lt;/P&gt;&lt;P&gt;but still i get the failed to open document message on the server&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 19:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1656232#M448307</guid>
      <dc:creator>RheaQv12</dc:creator>
      <dc:date>2019-12-10T19:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: strict exclusion...Failed to open document error in server</title>
      <link>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1656404#M448337</link>
      <description>&lt;P&gt;If you look at the section access example by Colin, the table consists of these fields:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Access,&amp;nbsp; UserID,&amp;nbsp; Password,&amp;nbsp; CostCentre&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Access, UserID, and Password are the key fields that should not be renamed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe try renaming your SA table columns with the respective key fields.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 08:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1656404#M448337</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-12-11T08:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: strict exclusion...Failed to open document error in server</title>
      <link>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1656715#M448370</link>
      <description>&lt;P&gt;Hey Arthur, i use NTNAME so it was working fine. When i added this new logic strict exclusion is not working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 18:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1656715#M448370</guid>
      <dc:creator>RheaQv12</dc:creator>
      <dc:date>2019-12-11T18:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: strict exclusion...Failed to open document error in server</title>
      <link>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1658679#M448541</link>
      <description>&lt;P&gt;Have a look at the following Design Blog post, there are some related posts at the bottom on this one too:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Section-Access/ba-p/1465766" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Section-Access/ba-p/1465766&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In regard to your comment about being an ADMIN, please note that ADMIN level only comes into play when opening via the Desktop Client, when you open via the QVServer, you are ALWAYS a USER, there are no ADMINs when running things server-side...&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The strict exclusion basically means if the section access record for your user results in a non-match in a reduction field etc., will lock you out of the application.&amp;nbsp; This is why when the Qlik Service Account is set to 'blank' values in the reduction fields, you cannot use the service account to open the application via the AccessPoint, as 'blank' has no matches, therefore strict exclusion will result in the app not opening.&amp;nbsp; Hopefully this makes a little sense.&lt;/P&gt;
&lt;P&gt;Here is the base URL to the Design Blog area as well in case you want to search further, and I am including the Section Access Help link below that too to cover all the bases here.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Security.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Security.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 19:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/strict-exclusion-Failed-to-open-document-error-in-server/m-p/1658679#M448541</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-17T19:24:32Z</dc:date>
    </item>
  </channel>
</rss>

