我有SQL Server 2012,Visual Studio 2013,我試圖通過使用dtexec的命令行運行.dtsx。用於運行SSIS 2013包的DTEXEC.exe
如果我使用:dtexec.exe /file "C:\MyFolder\sub folder \the ssis Package .dtsx"
將返回:
Couldn't load package because of error 0XC0010014. This occurs when CPackage:: Load from XML fails.
但是如果我使用:
"C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\DTExec.exe" /file "C:\MyFolder\sub folder \the ssis Package .dtsx"
我可以看到任務的一部分運行,因爲它的警告我一下微調我有一個任務中的兩列(與SSIS中的警告相同,但一切正常)。
Warning: 2016-01-28 13:41:49.53 Code: 0x802092A7 Source: Data Flow Task OLE DB Destination [99] Description: Truncation may occur due to inserting data from data flow column "ISSUER_OTHER_NAME" with a length of 124 to database column "ISSUER_OTHER_NAME" with a length of 68.
在那之後,我越來越:
Error: 2016-01-28 13:41:49.68 Code: 0xC000F427 Source: Execute Process Task Description: To run a SSIS package outside of SQL Server Data Tools you must install Execute Process Task of Integration Services or higher. End Error DTExec: The package execution returned DTSER_SUCCESS (0).
它看起來像其他人有這種不同的主機上沒有安裝任何集成服務。但我在同一個地方使用它,甚至警告正在工作,因爲我可以看到一些列的名稱。 我的猜測是dtexec.exe的版本,你可以看到我從120\dts\binn\
文件夾中取出它。 這是適合我的SSIS的嗎? 請參考下面我的SSIS版本和SQL Server
請再讀一遍我的問題。這就是我正在做的。找到它「然而,如果我使用:... *代碼*」 – CM2K