Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Mar 7, 2024 4:26:45 PM
May 13, 2022 3:55:43 AM
The Qlik Sense System Engine logs (default location, C:\ProgramData\Qlik\Sense\Log\Engine\Trace) record the exception
AppSerializer: SaveApp_internal caught extended exception -1: Unknown error
This error means Qlik Sense is not able to modify the file.
A possible root cause is another application interacting with the Qlik Sense process or the file, such as a backup tool or security tool.
This article is meant to assist in identifying the third party program.
Qlik Sense Enterprise on Windows
To investigate, we will need to find out what files are affected as well as what processes are interacting with these files and the shared folders. Additional logging is required.
To assist us in locating the App ID, User ID, and timestamp, we will need to activate debug logging on the Qlik Sense Engine(s).
NOTE: Please return logging back to defaults after collecting the required logs..
Note that this will require a stop and start of the engine service(s).
Directly after having provoked the issue, manually collect the engine logs created from all your Qlik Sense servers: C:\ProgramData\Qlik\Sense\Log\Engine
With those detailed logs, you will be able to identify what folders/files are affected as you now have debug log information as well as plugin exception logs.
The error will look like this:
Message: 'Unknown error' and additional debug info: 'File error for file \\SERVERQLIK01\QlikShare\Apps\Transactions\app-qli.int\XXX-9584-XXXX-XXXX-XXXX'
To audit file access, use Microsoft Windows Process Monitor.
Before starting the Procmon audit, add the below columns in your Procmon:
And point Procmon at the path containing the Qlik Sense files. See fig 1.
When reproducing the issue and collecting Procman data, collect data from all the Qlik Sense server nodes in the same time frame, as well as from the file share hosting the Qlik Shared drive.
You will need one Procmon report per server. So if you have two servers hosting an engine and one file server, this will mean three reports.
With the information gathered from the debug logs, you can identify when the issue occurs.
Combining this with the Procmon data allows you to locate what process is interfering. This could be a virus scan, a thread protection process, or any other third party program locking the file.
Take action to disable the process, or exclude the Qlik Sense files.
Anti-virus, Endpoint detection and response (EDR) and Advanced Threat Prevention (ATP) exclusions fo...
Can't save app with error AppSerializer: SaveApp_internal caught extended exception -1: Unknown erro...