SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Excel connection manager saying file open or not there


Excel connection manager saying file open or not there

Author
Message
dndaughtery
dndaughtery
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2697 Visits: 1093
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.
dndaughtery
dndaughtery
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2697 Visits: 1093
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?
Evil Kraig F
Evil Kraig F
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20657 Visits: 7660
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
dndaughtery
dndaughtery
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2697 Visits: 1093
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.
dndaughtery
dndaughtery
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2697 Visits: 1093
Permissions on folders and the file are identical to my dev enviropement as well.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search