Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2015-01-25
9
Medium Priority
?
116 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

715 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