SQL Server IMPORT and Export wizard fails to import ~100+ tables from MS Access 2003 database

Posted on 2008-10-22
Last Modified: 2013-11-10
I want to import ~100 tables from MS Access database but I get "Too many sessions" error message.
I want to use "Optimize for many tables" check box on "Select Source Tables And Views" dialog of the wizard but it is greyed out.
What can I do to get things done?
Question by:midfde
  • 4
  • 3
LVL 22

Expert Comment

ID: 22784541
could you clean the tables, leave only few records and attach the database access here to try help you?

Author Comment

ID: 22785721
Yes, I am attaching the database,
However I'd like to make a couple of notes:
  • I've gotten thinks done already by means of MS Access "Upsize Database" facility.
  • The question "Why cannot I just import tables into SQL Server database?" remains unanswered and is illustrated on the attached image
LVL 22

Expert Comment

ID: 22785858
Which version you have? The Express?
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.


Author Comment

ID: 22785939
select @@version
Microsoft SQL Server 2005 - 9.00.2040.00 (Intel X86)
Mar 13 2006 11:20:51
Copyright (c) 1988-2005 Microsoft Corporation
Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4)

(1 row(s) affected)
LVL 22

Expert Comment

ID: 22786158
try to install SQL 2005 SP2 and test again

Author Comment

ID: 22786279
Sorry, I cannot "try" it without long bureaucratic procedures. It's enterprise edition. Remember?
LVL 22

Expert Comment

ID: 22786296
but you must install SP2, fix a lot of bugs!
LVL 17

Accepted Solution

HoggZilla earned 500 total points
ID: 22787283
Optimize for Many Tables and Run in a Transaction are not options available with MSAccess import, but this should not stop you from importing the tables.
Save the import SSIS package, do not Execute Immediately.
Open the package and edit the concurrent processes to a small number. What is probably happening is SSIS is opening a connection to the .mdb, one for every table. Save the package and change the process. This is a MSAccess constraint, not SSIS.
I will attach the Package. Change the properties in DestinationConnection and SourceConnection to meet your reqs. Change the package property of MaxConcurrentExecutables to a reasonable number. This will limit open sessions in MSAccess.
I am having trouble attaching the file, but you can probably build it yourself.

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Slow Connectivity over ODBC 8 35
VBScript Write Column Headers 3 37
SQL - Copy data from one database to another 6 19
SQL Server Error 21 8 23
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

773 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