I checked my WIN.INI and I don't see the Network Library info in there. I also checked ODBC.INI and ODBCINST.INI and couldn't find the info in there either. Any other ideas?
Main Topics
Browse All TopicsMost of the ODBC settings can be found in the registry under the Software/ODBC/ODBC.INI branch. However, the Network Library setting is not stored there. Where is this stored?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Are you sure you're using the 32 bit version of ODBC Admin. If your changes are
being made in files (odbc.ini, odbcinst.ini) then you are using the wrong version, and won't
see the database.
Note, If this answer does not work, either reject it or comment back.
I'm here to solve your problem and will gladly work with you until
you are satisfied.
It's your page.
Please don't accept or grade until you problem is solved as that will
lock out other techs.
You're under no time limit or restrictions.
Regards,
Bud
Yes, I'm definitely using the 32-bit Administrator. Apparantly it maintains the INI files like the 16-bit version does, probably for backward compatability.
I'm not quite sure what you mean about grading or not grading an answer. I thought that I had to either grade an answer or reject it. I'll submit this response without a grade.
Your using EASYSOFT?
Go read
http://search.dejanews.com
many questions and answers.
You need to look thru
http://search.dejanews.com
http://search.dejanews.com
The URL's I provided above is full of programming info
Bud
1.Log in to the machine you are protecting as the machine or domain administrator. Using regedt32.exe, take ownership
of the following key:
HKEY_LOCAL_MACHINE\
SOFTWARE\
ODBC\
ODBC.INI
2.Set the value "Trace" to "0". The "Trace" value can be found under the following registry key:
HKEY_LOCAL_MACHINE\
SOFTWARE\
ODBC\
ODBC.INI\
ODBC
3.Set the value "TraceDll" to an empty string. The "TraceDll" value can be found under the following registry key:
HKEY_LOCAL_MACHINE\
SOFTWARE\
ODBC\
ODBC.INI\
ODBC
4.Set the permissions for "Everyone" to READ on the "ODBC" key.
5.Remove explicit permissions on the "ODBC" key for any non-administrative users.
For each user, there is a registry file. This file is named %SYSTEMROOT%\profiles\user
loaded into regedt32.exe using the Registry | Load Hive menu command.
1.Make the HKEY_USERS window active, and click on HKEY_USERS. Using the "Load Hive" command on the "Registry"
menu, find the appropriate hive. When prompted for the key name, use the username you are editing.
2.Take ownership of the key ODBC and its subkeys as was done in the preceding steps. The key will be found in the
following location
HKEY_USERS\
username\
SOFTWARE\
ODBC\
ODBC.INI\
ODBC
3.Set the value "Trace" to "0". The "Trace" value can be found under the following registry key:
HKEY_LOCAL_MACHINE\
username\
SOFTWARE\
ODBC\
ODBC.INI\
ODBC
4.Set the value "TraceDll" to an empty string. The "TraceDll" value can be found under the following registry key:
HKEY_LOCAL_MACHINE\
username\
SOFTWARE\
ODBC\
ODBC.INI\
ODBC
5.Set the permissions for "Everyone" to READ on the "ODBC" key.
6.Remove explicit permissions on the "ODBC" key for any non-administrative users.
7.Unload the hive you just loaded.
The preceding steps secured currently existing registry keys. When creating new users, the 6 steps above need to be
followed.
Thanks for you efforts, I've already seen this article. Unfortunately, as I mentioned earlier, the NetLib info is not in the Software\ODBC branch of the Registry.
I'm not trying to do anything with security, I just want to be able to set the NetLib for our data source programatically.
I have checked into some of the ODBC newsgroups and I have left a message out there with my question.
Thank You!! At first I didn't find it because you had a typo in the key name. It's actually "MSSQLServer" and not just "SQLServer".
It looks like DSQuery is set to your default Network Library (the one you set up in the Client Configuration utility). However, if you put a specific Net Library in your ODBC data source, a new key is added. For example, if you specify a server name of LEGAL and a net lib of DBMSSOCN, a new key will be added: LEGAL=DBMSSOCN,LEGAL
Thanks again for solving this for me.
Business Accounts
Answer for Membership
by: epoulsenPosted on 1998-05-18 at 14:34:04ID: 1713103
Just a shot in the dark...
I believe this is stored in WIN.INI under the [SQLSERVER] section under a statment
DATABASE=X,Y
Where X is the Network Library and Y is the name of the database. I don't believe this information is stored in the Registry...I scanned my own registry and I don't see any of my network libraries referred to there.