SQL agent job failed with an error 0x80131904

☆樱花仙子☆ 提交于 2021-01-29 07:23:50

问题


I have one SQL agent job that executing the SSIS package. When the job is running through schedule then it is giving an error:

Failed to execute IS server package because of error 0x80131904. Server: XXXXX Package path: "XXXX" Environment reference Id: 2. Description: The operation failed because the execution timed out.

But when I manually running the job by right clicking on it then the job runs successfully.

Could anyone help me on this to find out the root cause and solution of the issue.

Thank you so much in Advance!!


回答1:


Problem is that SQL Agent Service user don't have rights to execute package.

Two solutions:

  1. Change SQL Server Agent service user read where sql management studio

  2. Make a proxy account for SQL Agent JOB Step ssis proxy account

Go for the 2, because if You have more than one JOB or some policies.....



来源:https://stackoverflow.com/questions/53314640/sql-agent-job-failed-with-an-error-0x80131904

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!