2012-02-15 182 views
7

我創建了一個SSIS包,它具有從ftp服務器上的ftp pull文件並保存到我的本地驅動器,但我遇到了這個問題。SSIS問題解密受保護的XML節點失敗

有同樣的錯誤信息,我只得到警告,但今天的工作失敗。

消息:

Executed as user: cam\Package.Runner. Microsoft (R) SQL Server Execute Package Utility Version 10.0.4000.0 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 10:00:00 AM Error: 2012-02-15 10:00:00.61 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: 2012-02-15 10:00:00.62 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: 2012-02-15 10:00:33.53 Code: 0xC0029183 Source: Principal Balance File FTP Get FTP Task Description: File represented by "/Concerto/Virtus_Reports/Concerto Principal Balance Report*.pdf" does not exist. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 10:00:00 AM Finished: 10:00:33 AM Elapsed: 33.088 seconds. The package execution failed. The step failed.

+0

哎,爲什麼關閉請幫我 有了同樣的錯誤信息我只得到警告,但今天工作失敗,爲什麼? 請幫助我是新手 – Neo 2012-02-15 16:23:53

+0

什麼改變到包和或調用的方法導致失敗? – billinkc 2012-02-15 16:27:13

+0

您是否從不同於以往的計算機訪問它? – Diego 2012-02-15 16:31:46

回答

7

您可以通過設置保護級別屬性

Protection Level : DontSaveSensitive 

使用這個屬性解決這個問題,包不會被密碼保護,另一臺服務器可以訪問和執行任何工作其他憑證。

5

在導入包到SQL Server選擇防護等級: 要麼

1-不要保存敏感數據。

或者

2-依靠服務器存儲和角色的訪問控制。

截圖來自SSIS項目包屬性:

enter image description here

0

大廈前和部署包,請確保您已經改變了該解決方案的特性是這樣的:

Run64BitRuntime = False 
+1

或goto'作業步屬性' - >'執行選項' - >檢查'使用32位運行時'。無論如何,它並沒有幫助我的情況。 – itsho 2014-06-02 11:16:23

0

我得到了與FTP連接相同的錯誤消息。我認爲這是由於我在打開包的同時在不同的憑據下運行BIDS而創建的。

作爲一個笨重的解決方法,我刪除並重新創建了FTP連接。事後工作得很好。您的SSIS作業錯誤的

0

主要部分是

「0xC0029183來源:本金餘額文件FTP獲取FTP任務描述:表示爲文件‘/協奏曲/ Virtus_Reports /協奏曲本金餘額報告的* .pdf’不存在結束錯誤DTExec:程序包執行返回DTSER_FAILURE(1)。開始:10:00:00 AM完成:10:00:33 AM已用:33.088秒。程序包執行失敗。「

看起來你在您的SSIS包中配置的路徑上沒有pdf文件。 請檢查路徑和PDF文件的導入。 最好的問候, 伊萬

0

請使用選項「EncryptSensitiveWithPassword」嘗試保存您的軟件包。步驟1:右鍵點擊你的FTP連接管理器,進入它的屬性(最底部,不是編輯按鈕), ,然後輸入密碼。

第二步:用EncryptSensitiveWithPassword保存你的包。

步驟3:現在,在SQL作業代理編輯命令玲如下 /文件「C:SSIS pkg.dtsx的\ FULLPATH」 /解密密碼