I have an SSIS package that is extremely simple...
1 - A Script task that connect to a website (using webclient) to download a csv file
2 - A data flow task that takes that file into a SQL staging table.
When running via BIDs and SSIS (even the Execute Package utility work fine) it works a treat, but when i run it via a job it failed with the error below.
This Agent Service is setup as a local admin of the server... is there something missing when I setup the job? Could it be a IE proxy thing???
Also... If i create a batch file that calls the package, it works... But if I call the batch file from xp_CMDShell it fails with the same error.
Make a credential that uses a domain user account (in SSMS, Database Engine, Security). Then go into SQL Agent and make a proxy that uses this credential, allowing the proxy to be used for SSIS tasks. Then try running the job step as this proxy.
My guess is that being Local Admin, it can't get out of the box. A low-privilege domain account, with just enough permissions to do what the package does should be enough.
answered Nov 26, 2009 at 06:23 AM