我使用dtexec運行SSIS包。這個軟件包在我的系統上運行良好。當我創建SQL服務器代理作業以按計劃運行包時。程序包運行步驟計劃爲T-SQL任務,而不是SSIS程序包)。作業報告沒有錯誤,但它甚至不會在服務器上創建輸出excel文件@我想要的目標。使用dtexec運行SSIS包
此外,當我在命令shell中單獨運行該命令時,它將返回下面顯示的錯誤。間歇性地,它還會在我用來複制文件的FileSystem Task上返回錯誤,並說源或目標不存在!當BIDS中的相同變量值適用於我時,爲什麼SQL作業失敗?
Started: 7:33:27 PM
Error: 2012-10-26 19:33:27.60
Code: 0xC0016016
Source:
Description: Failed to decrypt protected XML node "DTS:Password" with error 0
x8009000B "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 err
or. Verify that the correct key is available.
End Error
Error: 2012-10-26 19:33:27.78
Code: 0xC00F9304
Source: GICSReport Connection manager "Excel Connection Manager"
Description: SSIS Error Code DTS_E_OLEDB_EXCEL_NOT_SUPPORTED: The Excel Conne
ction Manager is not supported in the 64-bit version of SSIS, as no OLE DB provi
der is available.
End Error
Error: 2012-10-26 19:33:27.78
Code: 0xC020801C
Source: Data Flow Task Excel Destination [22]
Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAG
ER. The AcquireConnection method call to the connection manager "Excel Connecti
on Manager" failed with error code 0xC00F9304. There may be error messages post
ed before this with more information on why the AcquireConnection method call fa
iled.
End Error
Error: 2012-10-26 19:33:27.78
Code: 0xC0047017
Source: Data Flow Task SSIS.Pipeline
Description: component "Excel Destination" (22) failed validation and returne
d error code 0xC020801C.
End Error
Error: 2012-10-26 19:33:27.78
Code: 0xC004700C
Source: Data Flow Task SSIS.Pipeline
Description: One or more component failed validation.
End Error
Error: 2012-10-26 19:33:27.79
Code: 0xC0024107
Source: Data Flow Task
Description: There were errors during task validation.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 7:33:27 PM
Finished: 7:33:27 PM
Elapsed: 0.343 seconds
請幫忙! :) ....我應該將所有的變量,連接管理器和一切添加到我的配置文件?目前我只添加了一些變量和連接管理器的ppty值,但沒有組合似乎有效地工作。
+1,因爲這是一個常見的錯誤,許多可以從閱讀中受益通過如何破譯所有錯誤並達成解決方案。 –