The information in this article applies to:
SYMPTOMS
Any SQLExec task that uses DB-Library can have its query timeout affected
by a replication task. Replication tasks use a DB-Library function to
globally set the query timeout for the SQLExecutive process, thereby
affecting all "DB-Library based" tasks including TSQL, LogReader, SYNC, and
Distribution tasks.
SQLExecutive will automatically retry the replication task, but the task may never run if the query timeout is not long enough. TSQL tasks may encounter the following error as a Failure:
WORKAROUND
Override the default query timeout for any SYNC or Distribution task with
the -q0 parameter value (This is only needed for SQL Server 6.5 because the
default query timeout for these tasks is 30 seconds, but is 0 for SQL
Server 6.0). This can force all tasks to use an infinite query timeout
(which is the default for TSQL and LogReader tasks).
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.0 and 6.5. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider. MORE INFORMATION
The LogReader, SYNC, and DB-Library subsystems in SQLExecutive all use
dbsettime() to set DB-Library query timeout values. By using dbsettime()
instead of dbsetopt(<dbproc>, DBSETTIME, <value>), the query timeout set by
one of these tasks can affect any other SQLExecutive task that uses DB-
Library, including TSQL tasks which do not have an option to control query
timeout.
Additional query words: Err DBLib
Keywords : kbbug6.50 kbbug6.00 kbfix6.50.sp2 |
Last Reviewed: March 31, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |