Solved

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

Posted on 2013-06-27
5
1,244 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

828 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