Solved

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

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

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

724 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