Solved

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

Posted on 2013-06-25
4
10,026 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

Expert Comment

by:Jim Dettman (Microsoft MVP/ EE MVE)
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Valid email addresses 6 20
Splitting out Data 14 27
Dateadd 3 20
Syntax error with between dates 6 17
It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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