作为作业运行时,SSIS包无法执行

时间:2019-04-12 06:05:15

标签: sql ssis

当我使用导入向导执行所有步骤并且导入运行正常时,我正在尝试在sql服务器中构建SSIS包以为我向某个表运行Excel导入。我将其保存为文件,然后尝试通过双击再次运行它-再次运行正常。但是,当我在sql agent中设置作业时,出现以下错误:

> Message Executed as user: myusername Microsoft (R) SQL Server Execute
> Package Utility  Version 14.0.3025.39 for 32-bit  Copyright (C) 2017
> Microsoft. All rights reserved.    Started:  8:52:02 AM  Error:
> 2019-04-12 08:52:02.33     Code: 0xC0202009     Source: packagename
> Connection manager "SourceConnectionExcel"     Description: SSIS Error
> Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code:
> 0x80004005.  An OLE DB record is available.  Source: "Microsoft Access
> Database Engine"  Hresult: 0x80004005  Description: "Unspecified
> error".  End Error  Error: 2019-04-12 08:52:02.33     Code: 0xC020801C
> Source: Data Flow Task 1 Source - Query [29]     Description: SSIS
> Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The
> AcquireConnection method call to the connection manager
> "SourceConnectionExcel" failed with error code 0xC0202009.  There may
> be error messages posted before this with more information on why the
> AcquireConnection method call failed.  End Error  Error: 2019-04-12
> 08:52:02.33     Code: 0xC0047017     Source: Data Flow Task 1
> SSIS.Pipeline     Description: Source - Query failed validation and
> returned error code 0xC020801C.  End Error  Error: 2019-04-12
> 08:52:02.33     Code: 0xC004700C     Source: Data Flow Task 1
> SSIS.Pipeline     Description: One or more component failed
> validation.  End Error  Error: 2019-04-12 08:52:02.33     Code:
> 0xC0024107     Source: Data Flow Task 1      Description: There were
> errors during task validation.  End Error  DTExec: The package
> execution returned DTSER_FAILURE (1).  Started:  8:52:02 AM  Finished:
> 8:52:02 AM  Elapsed:  0.297 seconds.  The package execution failed. 
> The step failed.

我做了什么-我已经为我的用户配置了凭据,并使用我的凭据创建了一个代理用户,该凭据能够访问所有必要的文件和表。我想念什么吗?我也尝试过在32位模式下运行它-但没有运气:config

0 个答案:

没有答案