Article ID: 152062 - Last Review: March 14, 2006 - Revision: 4.0 FIX: Query Times Out Too Early Under Multiprotocol Net- LibraryThis article was previously published under Q152062
BUG #: 15252 (SQLBUG_60_RW and SQLBUG_65)
SYMPTOMS
When you use DBMSRPC3.DLL to connect to SQL Server, a Win16 application can
prematurely time out the query. For example, if the query timeout is set to
55 seconds using dbsettime() in a DB-Library application, the query will
timeout within 10 seconds. With settings under 30 seconds, the query
timeout setting works fine.
CAUSE
The timeout mechanism in ConnectionRead() of the client-side Net-Library
DBMSRPC3.DLL incorrectly calculates the timeout setting under certain
situations.
WORKAROUND
Use either of the following to work around the problem:
STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server
version 6.0.
Microsoft has confirmed this to be a problem in SQL Server 6.5. This problem has been corrected in Service Pack 5a for Microsoft SQL Server 6.5.For more information, click the following article number to view the article in the Microsoft Knowledge Base: 197177
(http://support.microsoft.com/kb/197177/
)
INF: How to Obtain SQL Server 6.5 Service Pack 5a For more information, contact your primary support provider.
MORE INFORMATION
This is a Net-Library specific issue. It occurs when the application API
(DBLIB or ODBC) calls the Net-Library API function ConnectionRead() to read
results from the server. The timeout value parameter is correctly passed to
ConnectionRead(), but the function does not wait long enough before timing
out. This problem can affect both DBLIB and ODBC applications.
| Article Translations
|

Back to the top
