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: 
udaya_kumar
Specialist
Specialist

Warning: Process exited with non zero exit code: 1

Hi,

I am getting this error when i run the edx task from command line

what might be the issue here?

16 Replies
udaya_kumar
Specialist
Specialist
Author

Hi Miguel,

Sorry, i am able to search for user in users tab in QMC by domain\username.

before i tried it with only username, so it didnt work

and even am not getting asterik now beside the username and password in QMC.

but also i am running the task manually, it gives that same warning.

udaya_kumar
Specialist
Specialist
Author

Hi Miguel,

I am able to search for user in qmc

the red asterik is not appearing now in the username and password in qmc.

if i run the task manually, its giving that same warning.

so what might be the problem now?

Miguel_Angel_Baeyens

Hi,

What is the task inteded to do? Reload, Distribute, Notify? And how? Please describe it, and in the QMC, Tasks, click on the "Play" button and see if the warning keeps showing.

Hope that helps.

Miguel

udaya_kumar
Specialist
Specialist
Author

Hi,

I created task in the system-> supporting task-> External Programs-> create a task and i gave the "cscript C:\QMSEDX\sample.vbs" in commandline statement.

I am running it direcly by using play button, but also its giving warning.

Actually am using batch file and running it by using "runas" command, which you told me one day to do this to change the user and run it. am able to run distribute task by using same method by using "run as" but only for vb script task, its giving warning. below is the code insid vbscript

Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set outFile = fso.CreateTextFile("C:\QMSEDX\output.txt", True)

Miguel_Angel_Baeyens

Hi,

Why don't you use a BAT file instead of calling directly with CSCRIPT? Check this post and this post in that regard.

Hope that helps.

Miguel

udaya_kumar
Specialist
Specialist
Author

Hi, I used bat file, i created one bat file and place "C:\QMSEDX\sample.vbs" inside that.

I placed this C:\QMSEDX\testrun.bat in the command line statement in the external task.

But it failed to execute, its gave error telling the directory C:\QMSEDX not found.

it gave me this error

Information: Executing C:\QMSEDX\testrun.bat

(2012-05-17 09:25:02) Error: Directory "C:\QMSEDX" was not found.

But the directory exists

udaya_kumar
Specialist
Specialist
Author

Hello Experts,

Please help me in solving this problem.

Please provide the solution for this, am struggling for this issue from many days