SQL SSIS foreach loop  for multiple excel files failing

Posted on 2008-11-10
Last Modified: 2013-11-10
Hi, I am trying to create a SSIS package to import multiple excel files from a directory to simple SQl table. The DataFlow task works fine with one excel file and with out foreach. On adding foreach loop, the package fails as below.  I am using the instructions from Microsoft  at
Any pointers would be helpful.
" Error at Package [Connection manager "Excel Connection Manager"]: An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available.  Source: "Microsoft JET Database Engine"  Hresult: 0x80004005  Description: "Could not find installable ISAM.".

Question by:gigipaul
    LVL 17

    Expert Comment

    Make sure you use the 2005 Instructions if you are using SQL Server 2005.
    Verify your ExtendedProperties as well.
    LVL 1

    Author Comment

    I followed the exact steps from Microsoft,  I am thinking it could be a 32 bit jet driver & 64 bit server issue
    LVL 1

    Accepted Solution

    After so much  time on search engines, the issue is resolved for now.  I added an extra "\" in the file path and used delay validation for the control flow as well as the data flow.  I am now just using the excel file path property on the excel connection manager instead of the complicated connection string. I will have to see how this behaves  when I move this to Production.
    Thanks to every one.
    LVL 10

    Expert Comment

    How is that working out, I am still having problems

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
    Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
    Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
    Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now