Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Excel connection manager saying file open or not there Expand / Collapse
Author
Message
Posted Monday, July 7, 2014 2:34 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, July 18, 2014 1:57 PM
Points: 313, Visits: 715
I have a file that runs fin on Dev server. But when I import the very same package to my QA enviroment I get the following error:

Message
Executed as user: HNETNT\SQLISQA01. Microsoft (R) SQL Server Execute Package Utility Version 10.50.4000.0 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 3:30:43 PM Error: 2014-07-07 15:30:50.47 Code: 0xC0202009 Source: HSC_ProviderAdoption2 Connection manager "Excel_Detail_OLEDB" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available. Source: "Microsoft JET Database Engine" Hresult: 0x80040E4D Description: "Cannot start your application. The workgroup information file is missing or opened exclusively by another user.". End Error Error: 2014-07-07 15:30:50.47 Code: 0xC020801C Source: dft_WriteXL Excel Destination [283] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel_Detail_OLEDB" 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: 2014-07-07 15:30:50.47 Code: 0xC0047017 Source: dft_WriteXL SSIS.Pipeline Description: component "Excel Destination" (283) failed validation and returned error code 0xC020801C. End Error Error: 2014-07-07 15:30:50.47 Code: 0xC004700C Source: dft_WriteXL SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2014-07-07 15:30:50.47 Code: 0xC0024107 Source: dft_WriteXL Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 3:30:43 PM Finished: 3:30:50 PM Elapsed: 6.615 seconds. The package execution failed. The step failed.


The file exists and no one has the file open so I can't understand why im getting the error.
Post #1590108
Posted Monday, July 7, 2014 3:41 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, July 18, 2014 1:57 PM
Points: 313, Visits: 715
I have another connection mgr connecting to this excel file in a file task to rename it just before the connection manager in the dataflow is used. Could it be possible that the file hasn't had time to be released from the File task before the connection mgr in the dataflow is trying to access the file?
Post #1590134
Posted Monday, July 7, 2014 4:09 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 7:26 PM
Points: 6,157, Visits: 7,217
dndaughtery (7/7/2014)
I have another connection mgr connecting to this excel file in a file task to rename it just before the connection manager in the dataflow is used. Could it be possible that the file hasn't had time to be released from the File task before the connection mgr in the dataflow is trying to access the file?


Possibly, but I would guess more that it's sent the command but the network hasn't refreshed the settings on the file yet.

What happens if you direct execute the dataflow, without the renaming, do you still get the same error?



- Craig Farrell

Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

For better assistance in answering your questions | Forum Netiquette
For index/tuning help, follow these directions. |Tally Tables

Twitter: @AnyWayDBA
Post #1590141
Posted Tuesday, July 8, 2014 3:30 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, July 18, 2014 1:57 PM
Points: 313, Visits: 715
Yes, I'm getting the same error. I even copied the file into another folder to make sure no one else may have had the file open but still getting the error. Gonna check the permissions to make sure the file isn't read only because I'm writing to the file.
Post #1590247
Posted Tuesday, July 8, 2014 7:15 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, July 18, 2014 1:57 PM
Points: 313, Visits: 715
Permissions on folders and the file are identical to my dev enviropement as well.
Post #1590348
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse