SSIS Package Execution Error

Last post 08-12-2008 5:12 AM by sonnysingh. 4 replies.
Page 1 of 1 (5 items)
Active Topics My Discussions Unanswered Sort Posts: Previous Next
  • 08-07-2008 7:08 AM

    SSIS Package Execution Error

    Hi All

    I am getting this following Error when scheduled package run..

    Source: SalesDataLoad Connection manager "Excel Connection Manager"  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.".

     I have made sure that file is not access by any one. Job running under SA user. What could be the reason of this failure?

     
    Thanks in Advance
     

  • 08-07-2008 12:54 PM In reply to

    • satya
    • Top 10 Contributor
    • Joined on 11-05-2002
    • United Kingdom
    • Posts 22,515
    • Microsoft MVP
      Moderator

    Re: SSIS Package Execution Error

    Obviously if the source file is already open from MS Office then you will get this error.

    -Satya S K J

    SQL Server MVP



    Knowledge is Power, you will gain by sharing it. SSQA.net - Invisible contributions to the users & visible success in SQL Community.
  • 08-11-2008 1:13 AM In reply to

    Re: SSIS Package Execution Error

     I have mentioned in the post that I have made sure that file is not access by any one. Job running under SA user.  But still giving this error and it is confusing me. OR is it possible after load the file, package still have connection open with file? If yes the how to solve or make sure package close all the connection with Excel file.

    sonny 

  • 08-11-2008 4:04 AM In reply to

    • satya
    • Top 10 Contributor
    • Joined on 11-05-2002
    • United Kingdom
    • Posts 22,515
    • Microsoft MVP
      Moderator

    Re: SSIS Package Execution Error

    If the relevant file is opened as a step in the package then you will get such error, you could do the step 1 as a seperate package adn then remaining in different package as the file is exclusively opened by SSIS process itself.

    -Satya S K J

    SQL Server MVP



    Knowledge is Power, you will gain by sharing it. SSQA.net - Invisible contributions to the users & visible success in SQL Community.
  • 08-12-2008 5:12 AM In reply to

    Re: SSIS Package Execution Error

     I am doing simple import data from excel sheet...

    • Open connection with excel connection in SSIS for the predefine path for file.
    • Import data into stage table.
    • Manipulation the data and transfer into production table.

    Can we close connection after import data (step 2) OR Close connection of before star open (Step 1)? if yes please let me know how?

    Thanks in Advance

    sonny 

Page 1 of 1 (5 items)
Active Topics   My Discussions    Unanswered Posts


© 2000 - 2007 vDerivatives Limited All Rights Reserved.