Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Author

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.

View solution in original post

7 Replies
Not applicable
Author

Does any one have a solution for this?

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

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

-Rob

Not applicable
Author

"C:\ActiveDirectory.exe"

I am trying to use logparser and get NTUSER names.

Not applicable
Author

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
Author

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
Author

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
Author

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