通过DTExec调用时SSIS包失败-通过VS可以正常运行

时间:2020-06-10 19:46:55

标签: ssis dtexec

当我按下VS中的“开始”按钮时,我有一个运行良好的SSIS程序包,但是当我通过DTExec运行它时,它在轰炸过程中出现了以下错误。

Error: 2020-06-10 13:47:20.22
   Code: 0xC0047038
   Source: JCMAST to SQL SSIS.Pipeline
   Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on JCMAST - WA returned error code 0x80004005.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
End Error
Error: 2020-06-10 13:47:20.49
   Code: 0xC0047022
   Source: JCMAST to SQL SSIS.Pipeline
   Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Co, Job Yesterday Sort" (47) failed with error code 0xC0047020 while processing input "Sort Input" (50). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.
End Error

我可以看到该软件包已正确调用,因为可以看到所有不同的验证和预执行步骤。这些是整个运行过程中唯一出现的错误。

到目前为止,我在Google上搜索到的所有与这些错误有关的东西通常都带有某种其他错误。这里不是这种情况。

让我感到困惑的是为什么它会手动运行,而不是通过cmd运行。

编辑:完全错误输出

Started:  2:55:09 PM
Error: 2020-06-10 14:55:14.35
   Code: 0xC0047038
   Source: JCMAST to SQL SSIS.Pipeline
   Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on JCMAST - WA returned error code 0x80004005.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
End Error
Error: 2020-06-10 14:55:14.64
   Code: 0xC0047022
   Source: JCMAST to SQL SSIS.Pipeline
   Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Co, Job Yesterday Sort" (47) failed with error code 0xC0047020 while processing input "Sort Input" (50). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.
End Error
Error: 2020-06-10 14:55:20.67
   Code: 0xC0047038
   Source: EMP Files to SQL SSIS.Pipeline
   Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on PREMP - WA returned error code 0x80004005.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started:  2:55:09 PM
Finished: 2:55:34 PM
Elapsed:  24.343 seconds

SSIS package "D:\SafetyServicesProjects\WebAppsTest2\WebAppsTest2\Package.dtsx" starting.
Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
Warning: 0x80049304 at Data Flow Task, SSIS.Pipeline: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available.  To resolve, run this package as an administrator, or on the system's console.
Information: 0x40043006 at Data Flow Task, SSIS.Pipeline: Prepare for Execute phase is beginning.
Information: 0x40043007 at Data Flow Task, SSIS.Pipeline: Pre-Execute phase is beginning.
Information: 0x4004300C at Data Flow Task, SSIS.Pipeline: Execute phase is beginning.
Error: 0xC0047038 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on ODBC Source returned error code 0x80004005.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
Information: 0x40043008 at Data Flow Task, SSIS.Pipeline: Post Execute phase is beginning.
Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "OLE DB Destination" wrote 0 rows.
Information: 0x40043009 at Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning.
Task failed: Data Flow Task
Warning: 0x80019002 at Package: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
SSIS package "D:\SafetyServicesProjects\WebAppsTest2\WebAppsTest2\Package.dtsx" finished: Failure.

Control Flow View

Data Flow View on "JCMAST to SQL"

Connection Manager

Test Flow Data Snippet

1 个答案:

答案 0 :(得分:1)

好吧。搞清楚了。

结果全部归结为版本控制。我使用的是Windows 10出现问题的IBM iAccess ODBC版本。已升级到最新版本并且可以使用。