I have a dashboard with a folder containing XML files as the data source. This dashboard was reloaded with a task. I was trying to delete few of these files and reload with some other files. I'm unable to delete the file getting the following error. I tried deleting the source files after deleting the task which was completed I still got the same error and also tried the same thing after deleting all the dashboards in the server that were using this file as data source, but still the same error.
how to troubleshoot?
Please don't tell "Restating Engine Services" as the answer
"This action can't be completed because the file is open in Qlik sense Engine service."
For me it seems to be tied to the large number of xml files I am loading. When doing manual reloads you might notice the load doesn't complete but rather the spinner keeps running without throwing any errors.
So, for example if I try to load 5000 xmls the engine might stop normal execution at line 30k on an attempt, 60k on the next or 500k on the third. As you also noticed it's very inconsistent.
I've checked the log files but no errors get thrown.
Funny thing is if I load the same batch of files with Qlik View it works just fine...
Is this your experience as well or does the script load with no visible errors?
Also, do you have any for loops anywhere in there?
Thanks Alex, I have support ticket to qlik team. will update the qlik support team on the Nov 2017 is not having the same issue and see what they find out. Don't want to see this issue in future versions.