Solved

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

Posted on 2008-10-22
8
352 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
 
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

758 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

20 Experts available now in Live!

Get 1:1 Help Now