SSIS 2014通过代理执行包失败

时间:2015-10-08 15:07:11

标签: ssis

我正在尝试使用SQL Server作业运行SSIS包。我想找到一种方法来运行包,而无需将具有sysadmin角色的用户分配给作业所有者。我已经创建了一个凭据和代理来运行作业步骤,但是我得到了一个错误流。我可以通过将sysadmin用户设置为作业所有者并将作业步骤设置为在sql server代理服务帐户下运行来运行程序包。当我尝试作为代理运行时,我会收到错误,即使我已将代理的凭据设置为sysadmin用户。我尝试了错误建议并打开了包中的所有脚本任务。他们都成功建立。有谁知道我必须做什么才能让代理帐户成功运行这个包?

Error: 2015-10-08 09:35:53.46
   Code: 0x00000005
   Source: Script Task Script Task
   Description: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.
End Error
Error: 2015-10-08 09:35:53.46
   Code: 0x00000005
   Source: Script Task Script Task
   Description: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
End Error
Error: 2015-10-08 09:35:53.48
   Code: 0x00000005
   Source: Script Task Script Task
   Description: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
End Error

1 个答案:

答案 0 :(得分:0)

我必须将软件包升级到2014年。之后,他们在代理下成功运行。