As part of SSIS package I created a Execute Process Task that executes a batch file, however the process fails to execute correctly and returns the following error;
[Execute Process Task] Error: In Executing "C:\Program Files\screen-scraper basic edition\ercot_run.bat" "" at "", The process exit code was "1" while the expected was "0".
I can execute to batch file manually and it works fine. I have set the batch file’s directory to allow everyone and I have tried changing the task’s properties to ignore failures e.g. MAxiumErrorCount = 1 , FailTaskIfReturnCodeIsNotSuccessfulValue = False
The batch file contains the following code;
"jre\bin\java" -jar screen-scraper.jar -s "mospublic.ercot.com"
Additionally, I cannot get the batch file to execute in windows task scheduler either.
Any suggestions as possible solutions to this problem?
Thanks
Garrett