Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Excel Import Fails in SQL Server Agent Job but not when executed in BIDS

$
0
0
  • We have a SQL Server agent job that imports the excel file and its failing in PROD but the same ETL and swith the same proxy account is running fine in our DEV/QA environment. The proxy account used to run the job is an admin on the server.  The package is executed in 32 bit mode.  The package still runs fine in BIDS (where BIDs is opened on the server) but fails in the SQL Agent job with:

    Executed as user: xxxxxxxxx. Microsoft (R) SQL Server Execute Package Utility  Version 10.0.6000.29 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  3:15:01 PM  Error: 2019-01-14 15:15:22.35    Code: 0xC0202009     Source: TP_DO_Master Connection manager "Excel_Src_Conn"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft Office Access Database Engine"  Hresult: 0x80004005  Description: "External table is not in the expected format.".  End Error  Error: 2019-01-14 15:15:22.37    Code: 0xC020801C     Source: DFT_File_To_Stg Excel_Src_DO [1]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel_Src_Conn" 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-01-14 15:15:22.39     Code: 0xC0047017    Source: DFT_File_To_Stg SSIS.Pipeline     Description: component "Excel_Src_DO" (1) failed validation and returned error code 0xC020801C.  End Error  Error: 2019-01-14 15:15:22.40     Code: 0xC004700C    Source: DFT_File_To_Stg SSIS.Pipeline     Description: One or more component failed validation.  End Error  Error: 2019-01-14 15:15:22.45     Code: 0xC0024107     Source: DFT_File_To_Stg     Description: There were errors during task validation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  3:15:01 PM  Finished: 3:15:22 PM  Elapsed:  20.639 seconds.  The package execution failed.  The step failed.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>