FIX: Queue Reader Agent Fails with "Invalid Cursor State" Error Message (308733)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions) 8.0
This article was previously published under Q308733
BUG #: 354351 (SHILOH_BUGS)
SYMPTOMS
The Queue Reader Agent may fail with an error message similar to the following:
Failed while applying queued message to publisher
Server: PUBLISHER, Database QueuedPublisher : ODBC Error:Invalid cursor state
Worker Thread 556 : Aborted Queue Transaction
The error message may occur when a query that produces a result set exists in a user-defined trigger on the Publisher. Additionally, the error message only occurs in multi-statement INSERT transactions, and not with UPDATE or DELETE activity.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
WORKAROUND
To work around this problem, remove any query that produces a result set in user-defined triggers on publishing tables.
STATUSMicrosoft has confirmed that this is a problem in Microsoft SQL Server 2000. This problem was first corrected in Microsoft SQL Server 2000 Service Pack 2.
Modification Type: | Major | Last Reviewed: | 10/16/2003 |
---|
Keywords: | kbbug kbfix KB308733 |
---|
|