When you doing binary load, the binary load file is available in server folder?
binary 'lib://Binary_Load_Folder/fac6bf36-7972-4083-98a8-cd193071fe7a' <<< Is this your file name you loaded in your script?
Go to Data Connections in QMC and check if you've 'Binary_Load_Folder' connection stored there.
If you can upload the logs for task failed? Full log, it will give you an option to download logs when task fails or is it the full log?
//The syntax for your Binary statement should be like above..
If not try changing your Binary Data Folder connection, create a new one, place your binary file in that folder and run the task
Binary file should load first and then your source file (ideal way of doing it)
The log is uploaded is the full log, I only removed some localization data, which will not give any information but I needed to remove it due to security.
The cryptic name there is my file. The binary folder directly links to the apps folder of our server. The files in the apps folder of the qlik sense server do not have the ".qvf" ending, so I have to remove it from the binary load I've set up many more apps in the exact same way and they all work just fine. it's only this file that is not loading. Yes the binary_load_folder connection is stored in the Data connections in QMC.
Did you ever find a solution to this issue? I've been experimenting with binary loads in Sense server and come across the same issue. From the app script log file:
2017-06-27 09:49:44 0002 BINARY D:\Qlikshare\SharedApps\f8be1d00-874b-4b44-b0ef-4dc4ee0225af
2017-06-27 09:49:44 General Script Error
2017-06-27 09:49:44 Execution Failed
2017-06-27 09:49:44 Execution finished.
We run Sense in legacy mode to support explicit file paths though using a library connection makes no difference:
2017-06-27 10:00:00 0004 BINARY [lib://Qlik Sense App Folder (systems_t7689922)/f8be1d00-874b-4b44-b0ef-4dc4ee0225af]
2017-06-27 10:00:00 General Script Error
2017-06-27 10:00:00 Execution Failed
2017-06-27 10:00:00 Execution finished.
Also, using no path (which according to the documentation is also supported for QVFs in the default app location) does not work:
2017-06-27 10:02:06 0004 BINARY f8be1d00-874b-4b44-b0ef-4dc4ee0225af
2017-06-27 10:02:06 General Script Error
2017-06-27 10:02:06 Execution Failed
2017-06-27 10:02:06 Execution finished.
Reloading manually from the unpublished app in all cases works great, e.g.
2017-06-27 10:01:39 0004 BINARY f8be1d00-874b-4b44-b0ef-4dc4ee0225af
2017-06-27 10:01:39 0009 SET ThousandSep=','
2017-06-27 10:01:39 0010 SET DecimalSep='.'
2017-06-27 10:01:39 0011 SET MoneyThousandSep=','
2017-06-27 10:01:39 0012 SET MoneyDecimalSep='.'
2017-06-27 10:01:39 0013 SET MoneyFormat='$#,##0.00;($#,##0.00)'
2017-06-27 10:01:39 0014 SET TimeFormat='h:mm:ss TT'
2017-06-27 10:01:39 0015 SET DateFormat='DD-MMM-YY'
2017-06-27 10:01:39 0016 SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT'
2017-06-27 10:01:39 0017 SET FirstWeekDay=6
2017-06-27 10:01:39 0018 SET BrokenWeeks=1
2017-06-27 10:01:39 0019 SET ReferenceDay=0
2017-06-27 10:01:39 0020 SET FirstMonthOfYear=1
2017-06-27 10:01:39 0021 SET CollationLocale='en-US'
2017-06-27 10:01:39 0022 SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec'
2017-06-27 10:01:39 0023 SET LongMonthNames='January;February;March;April;May;June;July;August;September;October;November;December'
2017-06-27 10:01:39 0024 SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun'
2017-06-27 10:01:39 0025 SET LongDayNames='Monday;Tuesday;Wednesday;Thursday;Friday;Saturday;Sunday'
2017-06-27 10:01:39 0031 Exit Script
2017-06-27 10:01:39 Execution finished.
Is this a bug?
I've actually been playing around with this today and managed to fix it.
Check the following KB article:
I noticed it mentions section access as a possible root cause. I'd already granted access to the service account, but when I looked at the reload script noticed the line:
Reload Executed By UserDirectory=INTERNAL; UserId=sa_scheduler
So I added this internal account to the section access as ADMIN and hey presto, it works. Not sure if you had the same issue, but posting here in case it helps.