Import MDB into SQL Server gives acquireConnection method call to the connection manager error

Here is an annoying MSSQL server problem I just ran into. I am doing a data conversion for a client and I was given an Access DB and as an intermediary step, needed to get it into SQL server. There is a handy (snicker) import tool for doing just that. What should have been a few mouse clicks turned into a few hours of dueling.

As the import routine ran, it would consistantly fail at 'Prepare to Execute'. The error message was:

view plain print about
1- Prepare for Execute (Error)
2Messages
3Error 0xc0202009: {3EF444DD-70C9-4473-8294-BA4FFDD26927}: An OLE DB error has occurred. Error code: 0x80004005.
4An OLE DB record is available. Source: "Microsoft JET Database Engine" Hresult: 0x80004005 Description: "Unspecified error".
5 (SQL Server Import and Export Wizard)
6
7Error 0xc020801c: Data Flow Task: The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.
8 (SQL Server Import and Export Wizard)
9
10Error 0xc004701a: Data Flow Task: component "Source 64 - Person_Medical_Practice_Pref" (4918) failed the pre-execute phase and returned error code 0xC020801C.
11 (SQL Server Import and Export Wizard)

No problem, it seems to be a connection problem. I'll just verify the connection and run it again.

Failed again? Maybe I need to set a DB password and that will fix it

Ok, I can't set a password unless I close the Access DB, open it again, select Open Exclusive, and Open. No problem, let me just do that and set the password. Verify the connection again... Verified. Perfect, now let me import the tables again...

Failed.

Same error

Maybe if I yell at it a few times it will work. Ok, maybe yelling doesn't help... same error.

A few pages into a google search I find out there is a 64 table limit on importing.. Thank you guys/girls at SQL Junkies!

So, apart from the catharsis of writing this post, i'll feel a lot better if posting this on the net helps someone else.

P.S. I am still scratching my head at the arbitrary 64 table limit.

There are no comments for this entry.

Add Comment Subscribe to Comments

10/8/08 7:49 AM # Posted By Lauren Belletete

THANK YOU, THANK YOU, THANK YOU!!
I really appreciate your sharing this. It's been driving me crazy all morning.


5/20/09 9:19 PM # Posted By Chris

Thank you. You saved me many headaches.


2/23/10 1:17 AM # Posted By hallie

I was able to import up to 66 tables. =)