Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi community,
i´m with supporting task problem.
I created a task in System->Supporting Task->External Program
In command line statement: "C:\Program Files\QlikView\QV.exe" "\\server3\app1.qvw" /r
In app1.qvw I have a macro:
set cs = ActiveDocument.GetSheetObject("CH270")
'cs.Export "D:\carga\SMSNovo.txt" , ";"
When I run by desktop it works fine
When I run by Run command line from windows (ctrl+r) works fine
when I run by the task it fails
Log:
(2015-11-23 09:29:05) Information: Starting task 'DST_IC_STORE'. Id:5382f124-82ab-4876-8392-3ca42e92afb0. Triggered by 'ManualStartTrigger'. Id:00000001-0002-0003-0405-0607080a0b0c
(2015-11-23 09:29:05) Information: Entering Task Execution.
(2015-11-23 09:29:05) Information: ClusterID=1
(2015-11-23 09:29:05) Information: QDSID=48d73acf-ae98-1732-ae79-3a6b83bad01f
(2015-11-23 09:29:05) Information: TaskID=5382f124-82ab-4876-8392-3ca42e92afb0
(2015-11-23 09:29:05) Information: MaxRunTime=1.00:00:00
(2015-11-23 09:29:05) Information: MachineName=server2
(2015-11-23 09:29:05) Information: Max attempts:1
(2015-11-23 09:29:05) Information: Current Attempt=0
(2015-11-23 09:29:05) Information: Task Dependencies are OK
(2015-11-23 09:29:05) Information: Executing "C:\Program Files\QlikView\QV.exe" "\\server3\app1.qvw" /r
(2015-11-23 09:29:05) Information: Executing commandline: "C:\Program Files\QlikView\QV.exe \\server3\app1.qvw".
(2015-11-23 09:36:13) Warning: Process hasn't exited, killing! ProcessID=8988
(2015-11-23 09:36:14) Information: The process exited with non-zero ExitCode (-1) at 23/11/2015 09:36:13 - but the non-zero result is ignored due by task-setup
(2015-11-23 09:36:14) Information: Task Execute Duration=00:07:08.2052688
(2015-11-23 09:36:14) Information: Sending Alert mail
(2015-11-23 09:36:14) Information: TaskResult.status=Finished
(2015-11-23 09:36:14) Information: Notifying all triggers of new state:FinishedWithAbort
(2015-11-23 09:36:14) Information: Notifying all triggers of new state:FinishedWithAbort - completed
(2015-11-23 09:36:14) Information: Saving Task Result
Facts:
server3 is the access server
server2 is the load server
I have another 14 supporting tasks working fine, if I open one of this files (qvw) and save again, it will fail too.....
I tried desktop versions:
11.20.12904,0 SR12 64-bit
11.20.11643.0 IR 64-bit
I already tried Ignore errors (non zero return codes) enabled and disabled
My servers Version is: 11.20.12354.0
.NET version: 4.0.30319.18444
Some help?
thanks
Hi,
Did you find solution for this?
I'm facing same issue.
Regards,
Prasad Mayekar
Hi, yes....
the server Qlikview version was different from the desktop version.
using the same version it worked....