Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
vvvvvvvvvv
Creator
Creator

Section access control load resident table

How to load resident table to be the section access?

I wrote the following

section access;
ACCESS_CONTROL:
load * resident TESTING;
section application;

While TESTING table :

Untitled.png

When load data , the following error appear.......

Access was denied after reload. Check that the user that reloads the script is included in the section access part of the script.
 
Data has not been loaded. Please correct the error and try loading again.
Labels (2)
1 Solution

Accepted Solutions
eduardo_palacios
Partner - Contributor III
Partner - Contributor III

Hi, try UPPERCASE all fields in Resident command:

section access;
ACCESS_CONTROL:
load 

UPPERCASE(ACCESS) as ACCESS,

UPPERCASE(USERID) as USERID,

UPPERCASE(SCHL) as SCHL

resident TESTING;
section application;

//(don't forget to drop temp table "TESTING").

DROP TABLE TESTING; 

 

in qlik documentation there's the following:

"**Note that all data loaded via an external data source must be loaded in upper case in the SECTION ACCESS statement. This does not apply to INLINE data which always will be treated as upper case."

 

Hope it helps.

View solution in original post

12 Replies
miskinmaz
Creator III
Creator III

It means in your testing table the user (one you are using for development is not there in the list).

vvvvvvvvvv
Creator
Creator
Author

but the one I am using for development is in the list-------istest119

miskinmaz
Creator III
Creator III

Just cross check that the users directory is used in testing table is correct.

Also not sure but there are two lines for the development user. Remove the one with * and try.

vvvvvvvvvv
Creator
Creator
Author

Error still exist

marcus_sommer

Try it with:

section access;
ACCESS_CONTROL:
NOCONCATENATE load * resident TESTING;
section application;

drop tables TESTING;

If you need the table TESTING for anything change the fieldnames to make sure that there is no connection to the section access table.

Don't forget to ensure to have BACKUP's from the application to not to risk to lose your work.

- Marcus

vvvvvvvvvv
Creator
Creator
Author

does not work ...

error still exist

vvvvvvvvvv
Creator
Creator
Author

any updates??

vvvvvvvvvv
Creator
Creator
Author

I load the section access directly by load inline is work:

section access;
TESTING:

LOAD * INLINE [
ACCESS,USERID,SCHL
ADMIN,UST_LDAP\istest119,A
ADMIN,UST_LDAP\istest119,B

];

section application;

 

BUT.....load * resident table whose content are same as inline data 

'Access was denied after reload. Check that the user that reloads the script is included in the section access part of the script.' will be thrown!

eduardo_palacios
Partner - Contributor III
Partner - Contributor III

Hi, try UPPERCASE all fields in Resident command:

section access;
ACCESS_CONTROL:
load 

UPPERCASE(ACCESS) as ACCESS,

UPPERCASE(USERID) as USERID,

UPPERCASE(SCHL) as SCHL

resident TESTING;
section application;

//(don't forget to drop temp table "TESTING").

DROP TABLE TESTING; 

 

in qlik documentation there's the following:

"**Note that all data loaded via an external data source must be loaded in upper case in the SECTION ACCESS statement. This does not apply to INLINE data which always will be treated as upper case."

 

Hope it helps.