Solved

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

Posted on 2008-10-22
8
353 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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.

911 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

17 Experts available now in Live!

Get 1:1 Help Now