Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can't run QlikSenseTask.exe

Hi All.

Here is my situation:

When i run my bat file to run the qliksensetask.exe in a server it is able to run successfully.

However when i run the batch job from outside the server, it will give me an error of this:

Error,"System.Exception: Bad Request: Cannot find a task with the following name: TaskName

   at QlikSenseJSONObjects.QlikSenseJSONHelper.StartTaskByName(String taskname, Boolean synchronous)

   at QlikSenseTask.Program.Main(String[] args)"

2016_08_25_02_46_16,Information,"Returning Errorlevel 8"

The input I put in was this:

qliksensetask.exe -task:"TaskName" -proxy:http://localhost -wait:600

Thanks in advance!

4 Replies
Not applicable
Author

We are facing same issue. Any luck that you got this fixed?

Anonymous
Not applicable
Author

Please share if you solved this issue

Anonymous
Not applicable
Author

Hi!

1. Make sure the task actually exist. Go to sense QMC, and choose Tasks under MANAGE CONTENT, and find your task there. Make sure you use the task name and not the associated resource when running qliksensetask.

2. Don't have any funny characters in the task name. I got a problem with a '&' in the task name.

dacostaj
Contributor
Contributor

check if the user account that is running the command has Content Admin rights / is able to update apps.