Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
samuel_brierley
Creator
Creator

Allow QMC to run Execute commands

Hi all,

within my qvw i have checked the "allow security override" to allow the document to delete a file when the script is ran. when i use the qmc to run the qvw the QMC fails the reload. I'm assuming this is a security issue and was wondering if anyone knows how to "allow secrity override in the QMC" or if theyve encountered this issue and piont out where im going wrong i'd be greatful for your help.

thanks

1 Solution

Accepted Solutions
maxgro
MVP
MVP

Some tips:

- Check the document log to see the error and post it; usually the error is the last statement, at the end of the log.

You can also add some trace in the qlikview doc before and after the exec command

- Check the Qlik service has permission to delete the file in the folder

- Check the path: maybe different in server environement

Authorizing the Script EXECUTE Statement | Qlikview Cookbook

Maybe pcammaert‌ can add some useful thing

View solution in original post

4 Replies
maxgro
MVP
MVP

Some tips:

- Check the document log to see the error and post it; usually the error is the last statement, at the end of the log.

You can also add some trace in the qlikview doc before and after the exec command

- Check the Qlik service has permission to delete the file in the folder

- Check the path: maybe different in server environement

Authorizing the Script EXECUTE Statement | Qlikview Cookbook

Maybe pcammaert‌ can add some useful thing

MK9885
Master II
Master II

Is there anyway you can post your Section Access script here?

You can edit the field names and post it. I don't think it is the issue with 'Allow security override'

There can be few reasons for the task to fail in QMC, check your log file.

avinashelite

share your complete log file that will help us to identify the root cause

samuel_brierley
Creator
Creator
Author

Hi all

My log file reported "Error: The source document was not reloaded successfully. DocumentPath=……………”  The error was also observed by Mikael in the above link. it is due to the conflict in settings, see the link for how QlikView 11 and 12 differ in how you set this up.

cheers all