I have a SSIS job which the first task is to execute the script task. The script task is to check whether the file exists then proceed executing another task. It works perfectly fine when running in the VS and Integration Services.
However, the script task does not run after deployed in SQL Server Agent and it prompted me for the error on the second task. I'm using proxy to execute the job in SQL Server Agent and executed in 32 bit. The job uses SQL Server 2014, VS 2015 and target server version is SQL Server 2014.
Can someone please give me advice on this? Thanks.