Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

I am having trouble with an SSIS to import Access tables.

$
0
0

Afternoon everyone,

Last year, I created an SSIS package that would copy 11 tables from an Access file to 11 temporary table, and then the temp tables would be processed for data to be inserted into the permanent tables. The package consists of a Foreach loop to process more than one file. The 11 tasks are divided among 4 group containers within a Sequence Container within the Foreach loop container. The Access files are almost always the same format; all tables are of the same format. I use a expression in the Foreach loop with a variable for the filename and a variable for the folder that contains the Access files. This package is used for about 4 weeks out of the year, and worked last year.

This year, a column in one of Access table has been removed. Thus, I am working on removing the column from the task, and I am getting little red ball with white "X" one some of the Data Flow components, although not on the Data Flow compenent with the column removed.

The Data Flow consists of two components; the source and the destination, both with the red ball and white "X". I edit the source, and I see the OLE DB connection manager is not pointing to Access connection manager but to the SQL connection manager. I changed it to the Access connection manager but I am not able to enter a name of the table; there is not any table names in the drop down.

I attempted to edit the Access connection manager. I changed it to point to the same directory that is in the directory containing the Access files and saved. The saving does not seem to take effect. I edited the Foreach loop to look the folder set by the variable and to chose files matching the pattern WASH*.mdb. The variable for the filename is set the "WASH001.mdb (a default); that is the filename for the current file in the directory. It is like the value of the variables is not understood.

What am I not understanding? How can I get the editing of the source component to recognize the existence of tables in the Access file?

Thank you for any help.

Brandon


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>