Hello - I'm really stuck on this issue i'm having today. Here's my set-up:1) I created a SQL Agent job which calls an .exe file to connect to a web service and retrieve data back to a .csv file. I'm using Powershell in the job step to run the .exe file. 2) Once the .csv file lands in the folder, another job step runs which calls a stored procedure to bulk insert the data from the .csv file into a table in SQL Server. The issue i'm having is that the job runs just fine when executing the SQL job manually. However, once I schedule the job it errors-out saying that step 2 cannot complete because the .csv file does not exist. I'm sort of figuring out that this is a permissions issue somewhere but since i'm new to Powershell i'm not sure exactly what that is. Has anyone encountered this issue? I'm in a big time-crunch and have to get this out tomorrow, what can I do to make this happen?
↧