Solved

odbc--connection to "Database name" failed in Access 2007

Posted on 2015-01-25
9
113 Views
Last Modified: 2015-01-31
We have a Access 2007 file that started saying "odbc--connection to "Database name" failed" when trying to get data from a ODBC connection.  It works fine on about 50% of the computers/users on the network.

We setup a two new computers on the domain with all updates done and user kept getting this error.  If we login as admin on one computer it works just fine.  We tried a second computer under admin and it would give us this error.

All other software they have connects to the SQL database using ODBC with no problems and when disconnecting the ODBC connection and recreating it it tests just fine.

Some users have been having no problems with this and others get the error.  I cant find anything on the computers that are working vs the ones that are having problems.

On one computer you can login as user1 and cant get it then login as user2 and it works just fine.  On another computer user1 can get it and user2 can.

We are running Windows 7 Pro SP1, Access 2007 and the SQL is 2008.


Thanks.
0
Comment
Question by:icsllcweb
[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
  • 6
  • 3
9 Comments
 
LVL 14

Expert Comment

by:ThomasMcA2
ID: 40569899
ODBC configurations can be user-specific or system-wide. Are you sure that all ODBC conections have been defined on the System tab (instead of the User tab) of the ODBC Administration dialog?
0
 

Author Comment

by:icsllcweb
ID: 40569906
Yes, I have only setup all the computers them up on the "system tab".
0
 

Author Comment

by:icsllcweb
ID: 40569909
I also get the same message if delete the ODBC connection completely from the computer.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 14

Expert Comment

by:ThomasMcA2
ID: 40569918
Since the problem happens on some desktops but not others, the ODBC Administration settings seems like the most likely culprit.

It could be a network issue, but not if it works on one login but not another on the same box.
0
 

Author Comment

by:icsllcweb
ID: 40569921
Could there be changes between computers if the OBDC connections were all setup the same?
0
 
LVL 14

Expert Comment

by:ThomasMcA2
ID: 40569937
Perhaps they weren't setup the same. Could a GPO update from AD have updated some OUs but not others?

Try renaming the ODBC connection on a broken desktop, and create a new one using known-good settings. If the app connects, compare the settings in the new config to the old config. Are any of them different?
0
 

Author Comment

by:icsllcweb
ID: 40569939
I will check on it and let you know.  Thanks.
0
 

Accepted Solution

by:
icsllcweb earned 0 total points
ID: 40570771
It looks like the problem was related to a 32bit 64bit issue.  They had a third party software that would change it to a 32bit mode and it worked just fine.  The computers that were working we older 32bit Windows 7 and the ones that were not working were 64bit Windows 7.

Thanks for your time.
0
 

Author Closing Comment

by:icsllcweb
ID: 40581233
After talking it over with there staff someone mentioned it could be a 32 vs 64 bit problem and that was it as it was running in 64bit mode.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

635 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