L
Lee Rennie
Hi
I have this weird situation happening only in a few client machines:
1/ ADO.NET client application opens a connection to an SQL Server DB.
And you can actually see the connection is open in the SQL Profiler
2/ Wait for a couple of minutes...
3/ Press the button (or whatever) that will trigger an SQL command to be
executed.
4/ Although the application thinks that the connection is still open,
the command times out and the connection state is switched to closed
after the failure.
The command doesn't even show up on SQL Profiler, which means it doesn't
actually hit the server.
The problem doesn't happen if we skip step 2 (i.e. no time gap between
opening the connection and executing the command) and in most client
machines it doesn't happen at all, regardless of the connection idle period.
Thanks,
Lee
I have this weird situation happening only in a few client machines:
1/ ADO.NET client application opens a connection to an SQL Server DB.
And you can actually see the connection is open in the SQL Profiler
2/ Wait for a couple of minutes...
3/ Press the button (or whatever) that will trigger an SQL command to be
executed.
4/ Although the application thinks that the connection is still open,
the command times out and the connection state is switched to closed
after the failure.
The command doesn't even show up on SQL Profiler, which means it doesn't
actually hit the server.
The problem doesn't happen if we skip step 2 (i.e. no time gap between
opening the connection and executing the command) and in most client
machines it doesn't happen at all, regardless of the connection idle period.
Thanks,
Lee