Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Connection failed: SQLState: ‘S1T00’

6,754 views
Skip to first unread message

Rui Oliveira

unread,
Oct 29, 2007, 10:56:02 AM10/29/07
to
In some computers, just a few in thousands, appears the following message
when try to login in SQL.

Connection failed:
SQLState: ‘S1T00’
SQL Server Error: 0
[Microsoft][ODBC SQL Server Driver]Timeout expired

I am using a ODBC string to connect to DB. This happened in two computers,
one with Windows XP Professional sp2, with last updates, and the other with
Windows Vista Premium.
Apparently these computers are similar to a lot of others, but in this two
appears the message error. When I click OK appears the dialog to introduce
again user and password. And I just click OK again, without change
user/password values, and the application enters without more errors.

What could be? Someone have any suggestion?
Thanks,
Rui Oliveira

Frank Hickman

unread,
Oct 29, 2007, 1:52:16 PM10/29/07
to
"Rui Oliveira" <RuiOl...@discussions.microsoft.com> wrote in message
news:3413D460-2A8B-4572...@microsoft.com...

If the connection succeeds the second time, the initial connection may just
be experiencing lag (dropped packets). You mention "just a few in
thousands", is the network bandwidth high enough for the amount of data
being transferred?

--
============
Frank Hickman
NobleSoft, Inc.
============
Replace the _nosp@m_ with @ to reply.


Rui Oliveira

unread,
Oct 29, 2007, 6:01:04 PM10/29/07
to
Thanks for reply.
Could be lag, but it is strange the problem to appear always in same
computers, and every time I open application in that computers.
I said “just a few in thousands”, but thousands are not in same network. The
last computer detected with the problem, has been the first client that I
have installed in a new application network.
Tks. Rui

Frank Hickman

unread,
Oct 30, 2007, 3:44:36 AM10/30/07
to
"Rui Oliveira" <RuiOl...@discussions.microsoft.com> wrote in message
news:5804D34E-E089-4B16...@microsoft.com...

> Thanks for reply.
> Could be lag, but it is strange the problem to appear always in same
> computers, and every time I open application in that computers.
> I said "just a few in thousands", but thousands are not in same network.
> The
> last computer detected with the problem, has been the first client that I
> have installed in a new application network.
> Tks. Rui
>


In that case, if at all possible, you should examine the NIC configuration
to ensure that it is not sending short packets and that it is configured
properly. If that is the case, and you have access to the switch/hub the
system in connected to, try a different port. If it is on a hub, recommend
to the ptb to upgrade to a switch.

Rui Oliveira

unread,
Nov 1, 2007, 11:58:03 AM11/1/07
to
How could I check if the NIC configuration it is sending short packets or if
it is configured properly?
Tks. Rui

Frank Hickman

unread,
Nov 1, 2007, 2:05:19 PM11/1/07
to
"Rui Oliveira" <RuiOl...@discussions.microsoft.com> wrote in message
news:50308EF6-A977-46A6...@microsoft.com...

> How could I check if the NIC configuration it is sending short packets or
> if
> it is configured properly?
> Tks. Rui
>

Well you can start by making sure the metric for the controller is not set
to high. Sometimes when the network drivers are set to the defaults, the
metric is set to around 20. I find that this setting often causes
misdirection when the system tries to pick a good route to the destination
system. You can check this by opening a command window and type "route
print". The metric should be the last option. If it is anything higher
than one in any option do the following: In Control Panel under Network
Connections, open the properties for the NIC. Select the Internet Protocol
(TCP/IP) option and click properties. Click on advanced and you will see if
the NIC is using Automatic metric. If it is, unselect the option and put
"1" in the edit box.

As for as the packet size, you can check this my going to www.broadband.com
and using the tool there for analyzing the NIC. There are also detailed
instructions on how to modify the settings if needed. If I remember
correctly they have a tool, or can point you to where it is, that you can
download and make the changes for you. Otherwise, you would need to change
the registry settings manually.

Rui Oliveira

unread,
Nov 19, 2007, 12:59:00 PM11/19/07
to
I have changed metric to “1” but didn’t solve the problem.

I have tried to use Named Pipes in ODBC configuration and solved some of the
clients initially with the problem.

What could be wrong with TCPIP? How could I repair this?

Tks,
Rui

Frank Hickman

unread,
Nov 19, 2007, 1:09:15 PM11/19/07
to
"Rui Oliveira" <RuiOl...@discussions.microsoft.com> wrote in message
news:47467DB0-4C7C-48D2...@microsoft.com...

>I have changed metric to "1" but didn't solve the problem.
>
> I have tried to use Named Pipes in ODBC configuration and solved some of
> the
> clients initially with the problem.
>
> What could be wrong with TCPIP? How could I repair this?
>
> Tks,
> Rui
>
>


What are you using for the server address? Is it an IP address or a
computer name? If it is an IP address it should be able to get right to it,
if it is a computer name, the problem may be in the DNS resolution. If the
problem is consistent and your using the computer name, try changing it to
the IP address to see if that helps. If it does, you will need to research
why the DNS is taking so long to resolve the IP address. This could be a
network issue with the DNS server.

Rui Oliveira

unread,
Nov 20, 2007, 11:06:00 AM11/20/07
to
I used the "WinsockFix" tool to clean TCPIP configuration. After that the
problem disappears.
Tks, Rui

Frank Hickman

unread,
Nov 21, 2007, 4:24:17 AM11/21/07
to
"Rui Oliveira" <RuiOl...@discussions.microsoft.com> wrote in message
news:63A8842C-98B8-426D...@microsoft.com...

>I used the "WinsockFix" tool to clean TCPIP configuration. After that the
> problem disappears.
> Tks, Rui
>
>


Glad to hear you fixed your problem.

Rui Oliveira

unread,
Dec 27, 2007, 11:32:01 AM12/27/07
to
In some computers, just a few in thousands, appeared the following message
when tried to login in SQL.

Connection failed:
SQLState: ‘S1T00’
SQL Server Error: 0
[Microsoft][ODBC SQL Server Driver]Timeout expired

When I click OK appears the dialog to introduce again user and password. And

I just click OK again, without change user/password values, and the
application enters without more errors.

I am using an ODBC string to connect to DB.
This happened in computers with the firewall client of ISA server. Even when
I stop the firewall client of ISA server service, the error appears.
When I run the "WinsockFix" tool to clean TCPIP configuration, the problem
disappears but the firewall client of ISA server don’t work anymore. When I
reinstall the firewall client of ISA server, the problems appears again.

What could be? Someone have any suggestion?
Thanks,
Rui Oliveira

lherre...@starmedica.com

unread,
Jun 16, 2015, 11:53:51 AM6/16/15
to
I have the same isue, i fix the problem whit WinsockFix tool for vista bussines, tanks a lot for the tip.

regards

zulfik...@gmail.com

unread,
Jun 6, 2016, 4:11:22 AM6/6/16
to

khalsal...@gmail.com

unread,
Jan 8, 2019, 12:42:23 AM1/8/19
to
0 new messages