Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey - For the past week or so, we've been having problems with one specific app which cannot be reloaded, through a task, with new data. Neither can it be replaced with a duplication of itself with reloaded data (it can however without data reloaded first).
To clarify, if I duplicate the app and manually load data through the 'data load editor', there is no problem, but if I try to replace the published app with the duplicated app with new data, I get the following error:
If I just duplicate the app, and try to replace the published app with the duplicated app with old data, i.e. the data it already has, it is replaced successfully. It is also possible to just publish the duplicated app with new data. This is however not preferred as we have lots of community sheets that will be lost (unless someone can suggest a workaround where I can export/import community and private sheets/objects).
Furthermore, if I try to run the task bound to the app, it crashes the Qlik Sense engine and give the following task message:
Command=Finished task;Result=65;ResultText=Error: Failed
We have tried digging through all the log files, and looked at the 'Operations Monitor', but with no luck.
Found some of the log lines that might be helpful:
9c44271f-5846-4fc3-aa61-a358479557b9 | Command=Replace app;Result=0;ResultText=Success | 793056f2-48f0-408f-80f4-54e3d09bfb98 | 0 | 0 | 3481d458-c575-4739-bbd3-cd0227e8b400 | Sales | Repository | Not available | /qrs/app/3481d458-c575-4739-bbd3-cd0227e8b400/replace | Replace app | 0 | App with id '3481d458-c575-4739-bbd3-cd0227e8b400' and name 'Sales' was replaced. (HTTP code: 201) | 9c44271f-5846-4fc3-aa61-a358479557b9 | ||
aafc1646-50d1-49b2-b2c8-cdc7f7e6ed5b | Command=Republish app;Result=500;ResultText=Error: Server | 793056f2-48f0-408f-80f4-54e3d09bfb98 | adfdbf1a-90a3-47b8-a8a4-0c2e009d72fe | 0 | 3481d458-c575-4739-bbd3-cd0227e8b400 | Not available | Repository | ManagementAccess | /qrs/app/4fee9c6a-1f53-4bc4-b950-d436b601dfa7/replace | Republish app | 500 | Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. (HTTP code: 500) | aafc1646-50d1-49b2-b2c8-cdc7f7e6ed5b |
Strangely enough, the first lines says the app was successfully replaced, but cannot be republished, which is strange since I can publish the duplicated app with no problem.
Anyone in here who can help?
Instead of duplicating try export the app as qvf and import back with the new name and load the new data, then try publish and replace.
Does the app have section access?
Our app is using a third-party data load script from our partner, which all our apps uses. Our apps gets data from QlikMarts.
Currently we have three apps that gets data from the Sales_QlikMart, but it is only the Sales app that fails.
Instead of duplicating try export the app as qvf and import back with the new name and load the new data, then try publish and replace.
Eureka! We had actually tried this, but now I tried to rename the app when I exported it. Imported back in, and now it works fine again.
Thanks for the help!
PS: A colleague of mine says it may have been a group policy problem, and renaming it, i.e. making the file mine, solved it.
Sometimes owner of the app only able to duplicate or publish or reload.
It all depends on security rules.