Solved

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

Posted on 2008-10-22
8
355 Views
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?
0
Comment
Question by:midfde
  • 4
  • 3
8 Comments
 
LVL 22

Expert Comment

by:PedroCGD
ID: 22784541
could you clean the tables, leave only few records and attach the database access here to try help you?
Regards!
0
 
LVL 1

Author Comment

by:midfde
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
DataDock.mdb
-.bmp
0
 
LVL 22

Expert Comment

by:PedroCGD
ID: 22785858
Which version you have? The Express?
0
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 
LVL 1

Author Comment

by:midfde
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)
0
 
LVL 22

Expert Comment

by:PedroCGD
ID: 22786158
try to install SQL 2005 SP2 and test again
0
 
LVL 1

Author Comment

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

Expert Comment

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

Accepted Solution

by:
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.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
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.

740 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