Article ID: 260249 - Last Review: August 25, 2006 - Revision: 3.2 DSN network library shown as "Other" in ODBC AdministratorThis article was previously published under Q260249 SYMPTOMS When creating a new SQL Server Data Source Name (DSN) using
the ODBC API SQLConfigDataSource function, a network library must be specified. If the network
library name is in lowercase letters, the Client Configuration dialog box may show it as "Other". CAUSE In Control Panel, the Client Configuration dialog box in ODBC Data Source Administrator is case-sensitive.
It compares the network library name from the registry to uppercase network
library names. See the "More Information" section for information on the
registry entries that are affected by SQLConfigDataSource. RESOLUTION Use all uppercase letters in the network library
name. NOTE: This is only cosmetic. Connectivity is not affected by the case of the network library name. MORE INFORMATION The ODBC API SQLConfigDataSource function can be used to create new SQL Server DSNs
programmatically. For example, the following code creates a new System DSN
named MyNewDSN (or modifies if it already exists) connecting to the pubs
database using the TCP/IP protocol: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo The DSQUERY string under this registry key contains
the default network library for any SQL Server.If the network library name that is shown in the SQLConfigDataSource call above is coded as "Network=dbmssocn\0" instead of "Network=DBMSSOCN\0", the Client Configuration dialog box will show the network library as "Other". REFERENCESAPPLIES TO
| Article Translations
|
Back to the top
