Excel connection manager saying file open or not there

  • 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.

  • 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?

  • 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[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • 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.

  • Permissions on folders and the file are identical to my dev enviropement as well.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply