Hi,
I have a peculiar problem involving 7zip and SSIS. The SSIS package loops through several files and adds them to a zip file using 7zip (through the Execute Process Task). If I run the package manually in BIDS, it works fine. If it runs through a SQL Agent Job, it successfully creates the zip file, adds the first file, but then fails on any subsequent files.
This seems different than all other posts that I have found regarding permission issues, since it does run the 7zip executable correctly and adds the first file. Why would it have a problem adding a 2nd file, only when it is run through the SQL Agent job?
One more thing to note: I compared the commands that are being sent to the "Execute Process Task" when I run manually vs. when it runs as a SQL agent job, and they are the exact same.
Thanks for your help!