Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
i have the below line in a CMD file that i call from windows task manager. the task launches and runs ok, the document is saved but the Task doesnt end.
the same occurs if i run the file manually.
has anyone experienced this or is aware of a solution?
"C:\Program Files\QlikView\qv.exe" /R "C:\Users\samuel.brierley\Desktop\XXX\Download.qvw"
thanks
Hi Samuel,
have you got 'Generate Logfile' enabled for the qvw?
Andy
Hi Samuel,
The task doesn't end due to some of the following reasons
1. may be any cross join in ur application
2. Circular loop
3. Data size is very huge in any of the tables.
Please check your data model, is any cross join available or not
Please post the CMD file in this thread.
If your QVW gets saved, this means that script execution has finished without errors.
Check Task Manager->Processes. Is Qv.exe still present in the list of running processes?
Best,
Peter
Looking again at this, it doesn't actually sounds like a Qlik issue though, more like an issue with your CMD file.
If you run it manually, do you see the script progress windows open, run the script and then close again?
Andy
I will suggest, Generate the log file and check the log file has Reload task finished successfully
-Sathish
Hi apologies for the late reply my son fell ill at work
anyway i agree that the issue is unlikely to be qlikview as the script runs fine i simply think im missing some form of end command at the end of my script.
yes it is still running. is there a line within the command file to close the application?
Hi Sam,
just add Exit on the next line, should do the trick
Andy
Hi Andy
unfortunately not, it would appear that my script isnt going any further than the first line. i think this is because the Qv.exe process is still running. i did try killing that task but that hasnt work because my code wont get past the first line.