質問

I have an SSIS package with the Execute Process Task, which runs 7zip exe to zip a file. This works fine when I run the SSIS. But when I run this SSIS from the SQL Agent it hangs. I assume this is something to do with the permission. I have given full control to Network Services and sqlsvc to the folder which has the zip exe and the folder it is extracting to. Still no luck. What should I do to make this SSIS run from thenter image description heree SQL agent.

役に立ちましたか?

解決

I have created a proxy account which has administrator privilege and change the Job Step "Run As" property to the new proxy account instead of SQL Agent Service Account. I think the SQL Agent Service account doesnt have the access to run the process. You can also change the SQL Agent Serice Account group policies to make it work.

他のヒント

I would change the WindowStyle property to Hidden - the SQL Server agent may be hanging when it tries to create a Windowed process.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top