Solved

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

Posted on 2013-06-25
4
11,055 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

751 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