Solved

Access 2010 "ODBC--call failed" in the linked table manager

Posted on 2013-06-25
4
10,252 Views
Last Modified: 2013-06-26
I am using Windows 7 64bit/MS Access  2010 and a SQL server backend

I can connect to the Server using ODBC (64 bit) but when using the linked table manager to do a relink with "Always prompt for new location" selected I always get the error ODB--call failed

I also know on 64 bit Windows there are two versions of ODBC Administrator Windows the 64bit you can access through the Control Panel which is where I added the User data source for ODBC.

Any Suggestions?
0
Comment
Question by:Brogrim
  • 2
  • 2
4 Comments
 
LVL 57
ID: 39275110
Try setting up a DSN through control panel (which is the 64 bit version) as a system DSN.

Then try creating a linked table using that DSN.   I think if you do that, you'll discover your problem.

The other thing that would help is if you posted the connect string that you have right now.  Open Acccess, then do alt/F11 to bring up VBA, then Ctrl/G to get the debug window.

Type

?  CurrentDB().Tabledefs("somelinkedtablenamehere").Connect

Jim.
0
 

Author Comment

by:Brogrim
ID: 39275378
Hi Jim,

Connection String:

ODBC;DSN=DDAI;SERVER=xx.xx.xxx.xxx;DATABASE=ddai;PORT=3306;DFLT_BIGINT_BIND_STR=1

I am going to be away from the PC for a couple of hours will
most reply tomorrow morning

Thank.
0
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 39275411
OK.  So:

1. DSN=DDAI - Can you get a sucessfull test from the ODBC applet in control panel on this DSN?

2. "SERVER=xx.xx.xxx.xxx;DATABASE=ddai;PORT=3306"  are these correct?

3. Which version of *Access* (Office) are you using; 32 or 64 bit?  This is what determines which version of the ODBC admin applet you need to use (64 bit is the one through control panel, 32 bit is in C:\Windows\SysWoW64).

Jim.
0
 

Author Comment

by:Brogrim
ID: 39277425
Hey Jim,
The issue was that I was using 32 bit Access so once I added ODBC from the SysWoW64 folder it worked.

Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

867 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