Solved

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

Posted on 2015-01-25
9
107 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
  • 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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

762 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

20 Experts available now in Live!

Get 1:1 Help Now