Solved

How do I change the IP address on an existing ODBC connection?

Posted on 2013-06-27
5
1,115 Views
Last Modified: 2013-06-28
How do I change the IP address on an existing ODBC connection?  I am using an Access database that  has linked tables.  The tables use and ODBC DSN that has an outdated IP address in it.

I looked for an option in the ODBC Data Source Administrator (Control Panel.Administrative Tools.Data Sources Administrator ODBC) but no luck.  I can see the name of it on the File DSN tab but the configure button is dithered out.  Is there a config file somewhere or a registry key where I could change the IP address associated with that connection?
0
Comment
Question by:LesterJebson
5 Comments
 
LVL 12

Expert Comment

by:duttcom
ID: 39283177
Take a look in Documents -> My Documents -> My Data Sources. The DSN should be in there and you can edit it with notepad.
0
 
LVL 14

Expert Comment

by:mds-cos
ID: 39283219
What OS is the DSN on?  You are right in the place where I have changed the address.  I just popped onto one of my servers and verified that the IP can be changed.
0
 

Author Comment

by:LesterJebson
ID: 39283339
I tried the solutions above bu neither one worked.

1) I tried editing the ABC(not sharable).dsn file in Notepad but it only contains two lines.
[ODBC]
DSN=ABC

2) I'm able to click on the Configure button on the ODBC Data Source Administrator but I get a pop up error message.

Microsoft ODBC Adminstrator
The DSN ABC named in the File DSN C:\Users\LesterJ\Documents\ABC(not sharagble).dsn no longer exists on this system.

...If the ODBC source DSN source is missing how were my linked tables in Access still able to connect to the ODBC source?  Is the ODBC connection configuration stored somewhere in Access where it can be modified?
0
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 39284085
If your on a 64 bit OS and using 32 bit Office, the ODBC admin applet you need to use is in:

C:\Windows\SysWow64

The one from control panel is only for 64 bit apps.

Jim.
0
 

Author Comment

by:LesterJebson
ID: 39284640
Jim,

Thank you!  That was the problem.  The Windows control panel's PDBC panel wasn't allowing me to change the ODBC connection but I was able to change it from C:\Windows\SysWow64\odbcad32.exe.
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

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 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

14 Experts available now in Live!

Get 1:1 Help Now