Solved

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

Posted on 2013-06-25
4
11,396 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 58
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 58

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

631 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