Groups | Blog | Home
all groups > sql server odbc > january 2005 >

sql server odbc : [ODBC SQL Server Driver]Communication Link Failure


topason
1/21/2005 7:15:03 AM
I have a third party Client (Rational Clearquest) connecting to a SQL server
with an ODBC connection. Recently a few of the developers (not all) have
started getting "[ODBC SQL Server Driver]Communication Link Failure" after 5
minutes of inactivity.

I had the a network sniff done on the SQL server as the two clients are
connecting (one that gets the message and one that doesn't). The one that
doesn't get the message was utilizing NetBios to maintain the connection
while the ones that were didn't use Netbios.

Is there something I should look at in the ODBC connection, the SQL server,
Sue Hoegemeier
1/26/2005 4:05:00 PM
You may want to look at what protocols are being used by the
two. In the ODBC Data Source Administrator applet, select
the DSN, select configure and on the second screen, select
Client Configuration. This will show the protocol being
used.

-Sue

On Fri, 21 Jan 2005 07:15:03 -0800, "topason"
[quoted text, click to view]
topason
1/27/2005 6:29:04 AM
Both of clients (the one that gets the message and one that doesn't) use
TCP/IP protocol.

[quoted text, click to view]
Sue Hoegemeier
1/27/2005 9:53:53 AM
I'd also check in sysprocesses for their connections to
verify that they all are actually using TCP-IP. Generally
you'd see the NetBios connection with named pipes.
Not that it will necessarily resolve your issue though if
the NetBios connections are the ones that do not time out.

So they use the same application (so the same connection
strings), the same drivers, the same MDAC versions, the same
protocols, there have been no updates to the application or
the OS on the PCs and now some timeout and others do not and
the ones that do not have a Netbios connection?
Are there aliases defined on the clients or entries in the
host file the clients? Also, are there any network related
issues logged in the event logs on the clients?

-Sue

On Thu, 27 Jan 2005 06:29:04 -0800, "topason"
[quoted text, click to view]
topason
1/27/2005 10:11:05 AM
Neither have network issues in the Event Log on their desktops
Neither have entries in Host or LMHost files
Both have MDAC 2.71.9030.4

[quoted text, click to view]
Sue Hoegemeier
1/27/2005 11:25:29 AM
Then I have no idea on the timeouts or the reason for
connecting differently if the PCs, apps, what they are
doing, how the are connecting and everything is exactly the
same. I'd suspect there is some difference but I have no
idea what else to suggest.

-Sue

On Thu, 27 Jan 2005 10:11:05 -0800, "topason"
[quoted text, click to view]
Sue Hoegemeier
1/27/2005 11:27:35 AM
Other than I'd still check sysprocesses to verify the
connection protocols being used. And things network related
like mapped drives to the server or something. But that's
all.

-Sue

On Thu, 27 Jan 2005 10:11:05 -0800, "topason"
[quoted text, click to view]
AddThis Social Bookmark Button