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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
anuj_sharma
Partner - Contributor III
Partner - Contributor III

QMC Supporting Task not executed properly

We've created a QMC Task in System->Supporting Tasks->QDS@**->External Program

and have given path of the .bat file, which contains following command

 

"C:\Program Files\QlikView\Qv.exe" /l "E:\path_to_my_qlikview_document.qvw"

exit

 

my_qlikview_document has a macro written inside, which is triggered post-reload in document settings

Running .bat file manually executes the commands written inside successfully.

Running the created Supporting Task doesn't do the same.

Can anybody help figuring out the reasons behind this behaviour?

PFB

qmc_supporting_task.PNG

supporting_task_created.PNG

 

Thanks

Labels (1)
10 Replies
Brett_Bleess
Former Employee
Former Employee

So what they other poster was trying to convey is the QV.exe must be properly 'registered/licensed' to the QlikView 'Service Account', which you can verify the account by going to the Windows Services Applet and checking what account is running the QlikView services.  That account will need to be properly registered/licensed to the Desktop/Qv.exe client, and you will also need to open the file in question logged in as that user or us the Run as Different User option as the other poster recommended to set the macro security.  What is likely happening at the moment is dialog requesting macro security clearance is waiting to be answered, but given it is running in batch mode, you will never see the dialog in this case.  Hopefully this helps.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.