Article ID: 241448 - Last Review: March 14, 2006 - Revision: 2.1 FIX: Replication with Immediate-Updating Subscribers Fails with Error 21082This article was previously published under Q241448
BUG #: 57295 (SQLBUG_70)
SYMPTOMS
If you have configured replication with immediate-updating subscribers, you may receive the following error during the initial synchronization:
Error 21082 Database property 'IsRecursiveTriggersEnabled' has to be true for subscribing databases at updatable subscribers. CAUSE
The error message returned is incorrect. It should read:
Error 21082
While doing initial synchronization for an immediate-updating subscriber, SQL Server calls sp_addsynctriggers, which creates immediate-updating triggers at the subscriber. The sp_addsynctriggers stored procedure checks to determine if the database option 'Recursive triggers' is set to TRUE for the subscribing database. If it is set to TRUE, sp_addsynctriggers fails with the error described in the SYMPTOMS section of this article. However, in the error message, the word "true" should actually read "false".
Database property 'IsRecursiveTriggersEnabled' has to be false for subscribing databases at updatable subscribers. WORKAROUND
To work around this problem, disable the Recursive Triggers option on the subscribing database. To do this, you can either use the sp_dboption stored procedure, or use SQL Server Enterprise Manager by doing the following:
STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 274799
(http://support.microsoft.com/kb/274799/
)
INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
MORE INFORMATION
For more information on setting up replication with immediate-updating subscribers or on recursive triggers, see the SQL Server 7.0 Books Online.
| Article Translations
|
Back to the top
