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

Read from same Excel file with multiple sessions

$
0
0

Hi Friends,

I have one excel file that I use as meta data. My SSIS can be scheduled and ran multiple instances at the same time. The problem is that when the first process opens the excel file to read from, the rest of the SSIS instances are failing because can't access the excel file (since it's locked !). How can I change this behavior and fix it ?

Here is the error message:

Message
Executed as user: xxx\xxx. 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:  1:17:18 PM  Error: 2012-11-26 13:17:28.75     Code: 0xC0202009     Source: CT DB ReSync Connection manager "Excel"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft JET Database Engine"  Hresult: 0x80004005  Description: "The Microsoft Jet database engine cannot open the file ''.  It is already opened exclusively by another user, or you need permission to view its data.".  End Error  Error: 2012-11-26 13:17:28.75     Code: 0xC020801C     Source: ct_synccallingsystem Excel Source [1]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel" 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: 2012-11-26 13:17:28.75     Code: 0xC0047017     Source: ct_synccallingsystem SSIS.Pipeline     Description: component "Excel Source" (1) failed validation and returned error code 0xC020801C.  End Error  Error: 2012-11-26 13:17:28.75     Code: 0xC004700C     Source: ct_synccallingsystem SSIS.Pipeline     Description: One or more component failed validation.  End Error  Error: 2012-11-26 13:17:28.75     Code: 0xC0024107     Source: ct_synccallingsystem      Description: There were errors during task validation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  1:17:18 PM  Finished: 1:17:29 PM  Elapsed:  10.766 seconds.  The package execution failed.  The step failed.


Patrick Alexander


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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