我使用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,因为这是一个常见的错误,许多可以从阅读中受益通过如何破译所有错误并达成解决方案。 –