2013-07-02 125 views
0

我已創建了一個SSIS package這是我已導入Integration services MSDB 這是executed correctly from Integration services MSDBSSIS包執行SQL代理內未能

但是,當我試圖創建在SQL Server Agent一個JOB並嘗試執行 該作業它給我下面的錯誤

I'm unable to get it what is wrong from following error please help me.

(我已經通過增加配置文件和刪除配置文件試過,當我在SQL Server代理添加裝箱率)

消息 作爲用戶執行:cam \ Package.Runner。 Microsoft(R)SQL Server執行包實用程序版本10.0.4000.0(64位)版權所有(C)Microsoft Corp 1984-2005。版權所有。入門:上午05時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. 

回答

0

確保 「WOPR \ Fireball_PROD.sa」 BloombergFTP連接管理器使用的證書是嘗試以下之前有效。

要麼

  1. 更改SSIS包ProtectionLevel屬性來 EncryptSensitiveWithPassword,如果你想 到encrpt的package.Specify在命令行此密碼 SQLSERVER代理招聘SSIS配置設置Packagepassword。
  2. 如果您不想包裝包,請將SSIS包ProtectionLevel屬性更改爲DontSaveSensitive。在SQLSERVER Agent Job SSIS配置本身中指定憑據。
0

我遇到了類似的問題。我的SSIS包在SQL數據工具中運行時沒有錯誤,但在SQL Server代理內使用管理代理失敗。查看作業日誌,錯誤消息是類似於「未能解密受保護的XML節點」DTS:屬性「」

對於這樣的錯誤,可能有許多原因之一(由SM給出)代理服務器無法訪問您所指的表/數據庫,而您自己可以訪問這些表。

在我的情況:我正在寫東西到個人數據庫,無法通過代理底層的憑據訪問。因此,在SQL Data Tools中運行SSIS包時,我可以訪問這些表,但是在SQL Server Man中運行作業時。工作室,我不能。我更改了我的軟件包的目標數據庫,可以運行該作業。

這可能對更多遇到類似問題的人有幫助。