Unix Technical Forum

RE: Instance names missing trying to create dsn

This is a discussion on RE: Instance names missing trying to create dsn within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi Julie, Actually when you list the server, it will call ListAvailableSQLServers, which calls ODBC SQLBrowseConnect function. Generally, ListAvailableSQLServers ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 07:22 PM
Bill Cheng [MSFT]
 
Posts: n/a
Default RE: Instance names missing trying to create dsn

Hi Julie,

Actually when you list the server, it will call ListAvailableSQLServers,
which calls ODBC SQLBrowseConnect function. Generally,
ListAvailableSQLServers is listing all default sql server instances
available in the network. However, we do not guarantee that named instances
will be listed.

We recommend that you type the named instance SERVERNAME\INSTANCENAME
directly, as listing servers is slow and need to send a lof of network
packets.


Bill Cheng
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Julie" <jas@capx.com>
| Sender: "Julie" <jas@capx.com>
| Subject: Instance names missing trying to create dsn
| Date: Mon, 15 Sep 2003 11:43:43 -0700
| Lines: 9
| Message-ID: <36fb01c37bb9$4a01e430$a501280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcN7uUoBW68OyyzdT/y61xcKhKgZQQ==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.sqlserver.odbc
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.sqlserver.odbc:39726
| NNTP-Posting-Host: tk2msftngxa13.phx.gbl 10.40.1.165
| X-Tomcat-NG: microsoft.public.sqlserver.odbc
|
| Hi,
| When I try to create a system dsn on 1 machine (logged
| in as myself) I go to pick the server portion and only see
| the server name not the two instances of that server?
|
| Log in as myself on another machine I see both server
| name and instance name?
|
| Any idea for this confused DBA....
|

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 07:22 PM
Julie
 
Posts: n/a
Default RE: Instance names missing trying to create dsn

Okay, I tried that and now I get

SQLState: '01000'
SQL Server Error: 11004
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]
ConnectionOpen(gethostbyname()()). Connection Failed
SQLState: '08001'
SQL Server Error: 11
[Micorsoft][ODC SQL Server Driver][TCP/IP Sockets]General
network error.

This error only occurs on some machines, other I connect
fine.....

What is going on???
>-----Original Message-----
>Hi Julie,
>
>Actually when you list the server, it will call

ListAvailableSQLServers,
>which calls ODBC SQLBrowseConnect function. Generally,
>ListAvailableSQLServers is listing all default sql server

instances
>available in the network. However, we do not guarantee

that named instances
>will be listed.
>
>We recommend that you type the named instance

SERVERNAME\INSTANCENAME
>directly, as listing servers is slow and need to send a

lof of network
>packets.
>
>
>Bill Cheng
>Microsoft Online Partner Support
>
>Get Secure! - www.microsoft.com/security
>This posting is provided "as is" with no warranties and

confers no rights.
>--------------------
>| Content-Class: urn:content-classes:message
>| From: "Julie" <jas@capx.com>
>| Sender: "Julie" <jas@capx.com>
>| Subject: Instance names missing trying to create dsn
>| Date: Mon, 15 Sep 2003 11:43:43 -0700
>| Lines: 9
>| Message-ID: <36fb01c37bb9$4a01e430$a501280a@phx.gbl>
>| MIME-Version: 1.0
>| Content-Type: text/plain;
>| charset="iso-8859-1"
>| Content-Transfer-Encoding: 7bit
>| X-Newsreader: Microsoft CDO for Windows 2000
>| Thread-Index: AcN7uUoBW68OyyzdT/y61xcKhKgZQQ==
>| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>| Newsgroups: microsoft.public.sqlserver.odbc
>| Path: cpmsftngxa07.phx.gbl
>| Xref: cpmsftngxa07.phx.gbl

microsoft.public.sqlserver.odbc:39726
>| NNTP-Posting-Host: tk2msftngxa13.phx.gbl 10.40.1.165
>| X-Tomcat-NG: microsoft.public.sqlserver.odbc
>|
>| Hi,
>| When I try to create a system dsn on 1 machine

(logged
>| in as myself) I go to pick the server portion and only

see
>| the server name not the two instances of that server?
>|
>| Log in as myself on another machine I see both server
>| name and instance name?
>|
>| Any idea for this confused DBA....
>|
>
>.
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 07:23 PM
Bill Cheng [MSFT]
 
Posts: n/a
Default RE: Instance names missing trying to create dsn

Hi Julie,

What is the SQL Server version? Is it 7.0 SP4 or 2000 SP3? Is it on Windows
NT Server 4.0 and is a cluster?

If it is on Windows NT Server 4.0 and is a cluster, please check the
following article:
187708 Cannot Connect to SQL Virtual Server via Sockets in Cluster
http://support.microsoft.com/?id=187708

Try to use odbcping utility to test connection from problematic computer,
e.g. odbcping /Sserver_name\instance_name /Usa /PsaPassWord.

In addition, try to create TCP/IP or named pipe alias to point to the SQL
Server named instance on the problematic computer. Can you connect now?


Bill Cheng
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Julie" <jas@capx.com>
| Sender: "Julie" <jas@capx.com>
| References: <36fb01c37bb9$4a01e430$a501280a@phx.gbl>
<7N6S4GDfDHA.540@cpmsftngxa07.phx.gbl>
| Subject: RE: Instance names missing trying to create dsn
| Date: Tue, 16 Sep 2003 06:08:25 -0700
| Lines: 77
| Message-ID: <416701c37c53$9d111ca0$a501280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcN8U50Roiz2TAWsQC+KD2bvWeMrEg==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.sqlserver.odbc
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.sqlserver.odbc:39738
| NNTP-Posting-Host: tk2msftngxa13.phx.gbl 10.40.1.165
| X-Tomcat-NG: microsoft.public.sqlserver.odbc
|
| Okay, I tried that and now I get
|
| SQLState: '01000'
| SQL Server Error: 11004
| [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]
| ConnectionOpen(gethostbyname()()). Connection Failed
| SQLState: '08001'
| SQL Server Error: 11
| [Micorsoft][ODC SQL Server Driver][TCP/IP Sockets]General
| network error.
|
| This error only occurs on some machines, other I connect
| fine.....
|
| What is going on???
| >-----Original Message-----
| >Hi Julie,
| >
| >Actually when you list the server, it will call
| ListAvailableSQLServers,
| >which calls ODBC SQLBrowseConnect function. Generally,
| >ListAvailableSQLServers is listing all default sql server
| instances
| >available in the network. However, we do not guarantee
| that named instances
| >will be listed.
| >
| >We recommend that you type the named instance
| SERVERNAME\INSTANCENAME
| >directly, as listing servers is slow and need to send a
| lof of network
| >packets.
| >
| >
| >Bill Cheng
| >Microsoft Online Partner Support
| >
| >Get Secure! - www.microsoft.com/security
| >This posting is provided "as is" with no warranties and
| confers no rights.
| >--------------------
| >| Content-Class: urn:content-classes:message
| >| From: "Julie" <jas@capx.com>
| >| Sender: "Julie" <jas@capx.com>
| >| Subject: Instance names missing trying to create dsn
| >| Date: Mon, 15 Sep 2003 11:43:43 -0700
| >| Lines: 9
| >| Message-ID: <36fb01c37bb9$4a01e430$a501280a@phx.gbl>
| >| MIME-Version: 1.0
| >| Content-Type: text/plain;
| >| charset="iso-8859-1"
| >| Content-Transfer-Encoding: 7bit
| >| X-Newsreader: Microsoft CDO for Windows 2000
| >| Thread-Index: AcN7uUoBW68OyyzdT/y61xcKhKgZQQ==
| >| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| >| Newsgroups: microsoft.public.sqlserver.odbc
| >| Path: cpmsftngxa07.phx.gbl
| >| Xref: cpmsftngxa07.phx.gbl
| microsoft.public.sqlserver.odbc:39726
| >| NNTP-Posting-Host: tk2msftngxa13.phx.gbl 10.40.1.165
| >| X-Tomcat-NG: microsoft.public.sqlserver.odbc
| >|
| >| Hi,
| >| When I try to create a system dsn on 1 machine
| (logged
| >| in as myself) I go to pick the server portion and only
| see
| >| the server name not the two instances of that server?
| >|
| >| Log in as myself on another machine I see both server
| >| name and instance name?
| >|
| >| Any idea for this confused DBA....
| >|
| >
| >.
| >
|

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:07 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com