473,394 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Where is ODBC Connection Information Stored?

Hello,

Where does the ODBC Data Source Admin tool store the connection
information for User, System or File DSNs? A coworker created/used
several ODBC connections on his machine, we backed up most of his files
but did not make an image (Ghost), wiped the HD and now I am having to
reconstitute his ODBC connections from memory. I would like to find a
file or something that has all that information stored. Am I SOL? Any
thoughts?

Thanks for your time,
A. User

May 24 '06 #1
2 37777
DFS
A. User wrote:
Hello,

Where does the ODBC Data Source Admin tool store the connection
information for User, System or File DSNs? A coworker created/used
several ODBC connections on his machine, we backed up most of his
files but did not make an image (Ghost), wiped the HD and now I am
having to reconstitute his ODBC connections from memory. I would like
to find a file or something that has all that information stored. Am
I SOL? Any thoughts?

Unfortunately, I do believe you are SOL, Mr. User.

At least on my WinServer2003 system, the connection details are stored in
Registry key

HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI

Thanks for your time,
A. User

May 24 '06 #2
A. User wrote:
file or something that has all that information stored. Am I SOL? Any
thoughts?


DFS is correct (ie, you're out of luck), but do you know what
systems/databases to which he was connected?

Also, if you have the mdbs that used the DSNs, you can get the connect
information from tables or queries that might be stored. Did he use
PTQs? If he wrote them in code, then the connect strings will be there.

Also, the hidden system table, msysobjects, holds connection information
from linked tables.

If you have the mdb, and aren't sure how to translate or find the
connect strings, post back and we may be able to help.

At the very least, connection strings will give you the name of the DSN
he used (which may be important to relicate in case there are other apps
that access the DSN or if there are only certain DSNs permitted), the
user ID, possibly the password, and the name of the database to which
the DSN is connected.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
May 25 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: GitarJake | last post by:
Hello all, I am trying to test an ODBC connection to an Oracle dbf using the ODBC Data Source Administrator. It's not working and I suspect I haven't configured Oracle correctly. Below is...
1
by: Lyle Fairfield | last post by:
I created a new MS-SQL Database, "TestODBC". I made Table1 and StoredProcedure1. I made an ODBC DSN for that MS-SQL Database. I created a new AccessXP mdb, "TestODBC". I linked to the...
3
by: Oren | last post by:
Hi, Is there a way to hide the connection information of linked SQL Server tables from users? It's easy to open a system table and find the connection info, and if the username and password are...
5
by: Mike | last post by:
I am writing a .NET application in C# that uses Crystal Reports. I want the crystal reports to grab information from a database no matter where the database is located. To do this, I want to...
2
by: Brad | last post by:
Where is the connection string stored for a simple Crystal Report Application. What I am trying to do is: 1. Create a simple report from a Firebird database using an ODBC connection 2. Need to...
8
by: Greg Strong | last post by:
Hello All, The short questions are 1 Do you know how to make DSN connection close in Access to Oracle 10g Express Edition? &/or 2 Do you know how to make a DSN-less pass-through query...
3
by: Mark Poppers | last post by:
Assume I position a button on a Form on position (x,y)=20,75pixel Where (in which file) is this information stored ? Marl
2
by: jobrien9796 | last post by:
I'm using Access 2002 with linked tables to access an SQL Server database. Authentication is done using Windows authentication (not user id+password). As far as I can tell, when the table is...
4
by: Rodent | last post by:
I have an IIS 6.0, 2003 Server running with PHP installed. I have an access database with a DSN ODBC connection configured. When this ODBC is configured to access the database locally - great,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.