Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Community,
I have a code for executing cmd.exe to delete all existing qvd files !. There is no problem when I run it manually.
code : "EXECUTE cmd.exe /C del *.qvd;"
But whenever I run it in server, the error traced in Document Logfile
2016-05-05 11:06:01 0013 EXECUTE cmd.exe /C del *.qvd
2016-05-05 11:06:01 ERROR - EXECUTE Command Failed. AllowExecuteCommand setting violation detected. Document: C:\Qlikview\Development\Test\Test.qvw
2016-05-05 11:06:01 Error: Script line error:
2016-05-05 11:06:01 General Script Error
2016-05-05 11:06:01 Execution Failed
This error encountered when we upgrade our server to Qlikview v12. We have no problem when running it from our previous server version Qlikview v11.
Is there any other additional or new code/syntax for deleting qvd files?
Thanks in advance.....
There was a change in how QV handles the execute statement authorization. I think you need to check the .ini setting for AllowExecuteCommand and set it to 1.
It's explained in detail in one of Rob's blog post:
Authorizing the Script EXECUTE Statement | Qlikview Cookbook
AllowExecuteCommand setting violation detected.
Did you enable the Can Execute External Programs option on the Settings tab in the Script Editor?
There was a change in how QV handles the execute statement authorization. I think you need to check the .ini setting for AllowExecuteCommand and set it to 1.
It's explained in detail in one of Rob's blog post:
Authorizing the Script EXECUTE Statement | Qlikview Cookbook
Yes I did enabled that option.
It successfully run sir.. Thank you for the help..