When doing Binary load on a Qlik Sense Server file such as following ones located in C:\ProgramData\Qlik\Sense\Apps
It may fail with following error:
0002 Binary lib://Apps/8cd41016-f330-4ca0-9a6a-c46cbc31304f
Error: Cannot open file
General Script Error
QVF files in Server Apps folder are read/written by Engine service when:
- When users are doing modifications on those apps, so a file lock will be always possible to happen on those files at any moment.
- In multi-node environment, apps are constantly being synchronized(called 'binary-sync') onto all nodes, which means any changes on such app from any node will have possibility to lock the app.
- And some 'binary-sync' does not happen instantly. The sync actions will be delayed for several hours when system load is high. So the file lock is very unpredictable.
During these operations, those files may be locked and causing reload task failure.
Using Qlik Sense apps stored in the Apps folder for a binary load is not supported. The app files may be locked by Qlik Sense server operations and cannot be opened.
Instead, do binary load on a static QVF/QVW files if necessary, or load QVD files generated by other QVD generators.