0

我创建了一个SSIS package我已导入Integration services MSDB 其中的executed correctly from Integration services MSDB

但是当我尝试创建一个JOBinSQL Server Agent并尝试执行该作业时,它给了我以下错误

我无法从以下错误中得到什么是错误的,请帮助我。

(我尝试在 SQL Server 代理中添加包时添加配置文件和删除配置文件)

消息以用户身份执行:cam\Package.Runner。适用于 64 位的 Microsoft (R) SQL Server 执行包实用程序版本 10.0.4000.0 版权所有 (C) Microsoft Corp 1984-2005。版权所有。开始时间:上午 5:05:01 错误:2013-07-02 05:05:01.85

Code: 0xC0016016     Source:       Description: Failed to decrypt protected XML node "DTS:Property" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.  End Error  Error: 2013-07-02 05:05:01.85   
  Code: 0xC0016016     Source:       Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.  End Error 
 Error: 2013-07-02 05:05:02.02   
  Code: 0xC0202009     Source: BloombergFTP Connection manager "WOPR\Fireball_PROD.sa"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E4D.  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E4D  Description: "Login failed for user 'package.runner'.".  End Error  Error: 2013-07-02 05:05:02.02     Code: 0xC00291EC     Source: Execute SQL Task Goodhart Execute SQL Task     Description: Failed to acquire connection "WOPR\Fireball_PROD.sa". Connection may not be configured correctly or you may not have the right permissions on this connection.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  5:05:01 AM  Finished: 5:05:02 AM  Elapsed:  0.266 seconds.  The package execution failed.  The step failed.
4

2 回答 2

0

在尝试以下操作之前,请确保“WOPR\Fireball_PROD.sa”BloombergFTP 连接管理器使用的凭据有效。

任何一个

  1. 如果要加密包,请将 SSIS 包保护级别属性更改为 EncryptSensitiveWithPassword 并设置包密码。在 SQLSERVER 代理作业 SSIS 配置的命令行中指定此密码。
  2. 如果您不想加密包,请将 SSIS 包保护级别属性更改为 DontSaveSensitive。请在 SQLSERVER 代理作业 SSIS 配置本身中指定凭据。
于 2013-07-02T10:54:09.477 回答
0

我遇到了类似的问题。我的 SSIS 包在 SQL Data Tools 中运行没有错误,但在 SQL Server 代理中使用管理代理失败。查看作业日志,错误消息类似于“无法解密受保护的 XML 节点“DTS:Property””

这种错误的许多可能原因之一(在 SM 给出的原因旁边)是代理无权访问您所指的表/数据库,而您自己却有权访问这些表。

就我而言:我正在将内容写入个人数据库,代理基础的凭据无法访问该数据库。因此,在 SQL Data Tools 中运行 SSIS 包时,我可以访问表,但在 SQL Server Man 中运行作业时。工作室,我做不到。我更改了我的包的目标数据库,并且可以运行该作业。

这可能对更多遇到类似问题的人有所帮助。

于 2016-01-14T15:56:52.493 回答