我计划运行一个ssis作业。 它执行一个过程,然后从表中选择输出到文件。 ssis包在ssis中正常运行并手动运行dtsx文件。
当它作为一个作业运行时,除了试图保存到文件的部分外,所有部分都完好无损。
这是错误(我删除了主机名\用户名)
Executed as user: {hostnamexxx\usernamexxx}. Microsoft (R) SQL Server
Execute Package Utility
Version 10.0.1600.22 for 32-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 2:33:29 PM
Error: 2014-09-30 14:36:23.57
Code: 0xC020200E
Source: Data Flow Task Flat File Destination [22]
Description: Cannot open the datafile "P:\\Ordbsjia_ORDER_0003637.DAT".
End Error
Error: 2014-09-30 14:36:23.57
Code: 0xC004701A
Source: Data Flow Task SSIS.Pipeline
Description: component "Flat File Destination" (22) failed the pre-execute phase and returned error code 0xC020200E.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 2:33:29 PM
Finished: 2:36:23 PM
Elapsed: 174.422 seconds. The package execution failed. The step failed.