Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Executing Bat file using Publisher

Hi All,

I am trying to execute a Batch file using "External Application Task" in Publisher.

Publisher Log file shows Finished with 1 Warning.

Warning: Process exited with non zero exit code: 1

Publisher shows Finished but it never executes this batch file.

Does any body know the solution for this error,

Any Help will be appriciated.

Thanks

1 Solution

Accepted Solutions
Not applicable

Executing Bat file using Publisher

If you could run the exe file manually but it fails in Pubisher. One possibility is the service account that runs Publisher does not have access to your Active Directory.

7 Replies
Not applicable

Executing Bat file using Publisher

Does any one have a solution for this?

Executing Bat file using Publisher

Please post the command line string you have defined for the task.

-Rob

Highlighted
Not applicable

Executing Bat file using Publisher

"C:\ActiveDirectory.exe"

I am trying to use logparser and get NTUSER names.

Not applicable

Executing Bat file using Publisher

I would first create a batch file (.bat) with the command line C:\ActiveDirectory.exe.

Then run your .bat file in your external task.

( Note that the path used in your .bat and External task path are related to the server).

Also check that the Publisher service account user has enough rights to access the folders and files defined in the batch and tasks.

Sébastien

Not applicable

Executing Bat file using Publisher

I have tried using the .Bat file, and I also tried using Execute function in QlikView and running through publisher.

It gives the same error.

Warning: Process exited with non zero exit code: 1

Not applicable

Executing Bat file using Publisher

If you could run the exe file manually but it fails in Pubisher. One possibility is the service account that runs Publisher does not have access to your Active Directory.

Not applicable

Executing Bat file using Publisher

Hi Sébastien,

I found similer issue "Warning: Process exited with non zero exit code: 1"

Did you find any root cause why this happend?

Thanks in advance!

Regards,

Arunesh Kumar

Community Browser