SQL Server Errors or Failures from Error: 20666 to Error: 20685

Error: 20666, Severity: 16, Cannot refresh the identity range and/or the check constraint on the Publisher. Ensure the following: that the value in the identity column has not reached the maximum for the data type in the identity column; and that the user who made the last insert ha
Error: 20667, Severity: 16, Cannot allocate an identity range for article “%s”. The article is not enabled for automatic identity range management.
Error: 20668, Severity: 16, Not enough range available to allocate a new range for a subscriber.
Error: 20669, Severity: 16, Object referenced by the given @article or @artid ‘%s’ could not be found.
Error: 20670, Severity: 16, Cannot add, drop, or alter the identity range check constraint for table %s. This constraint is used by replication for automatic identity range management. This error typically occurs if the user who made the last insert in the table does not have permis
Error: 20671, Severity: 16, Cannot find the identity range allocation entry for the Subscriber in the MSmerge_identity_range table. Reinitialize the subscription.
Error: 20672, Severity: 16, A value for the parameter @host_name was specified, but no articles in the publication use HOST_NAME() for parameterized filtering.
Error: 20673, Severity: 16, A value for the parameter @host_name was specified, but no articles in the publication use SUSER_SNAME() for parameterized filtering.
Error: 20674, Severity: 16, The publication does not use dynamic filtering.
Error: 20675, Severity: 16, The identity range values cannot be NULL.
Error: 20676, Severity: 11, Cannot refresh the Publisher identity range for article “%s”. Execute the stored procedure sp_adjustpublisheridentityrange to refresh the identity range.
Error: 20677, Severity: 11, Cannot add article “%s” with automatic identity range management. The article is already published in a transactional publication with automatic identity range management.
Error: 20678, Severity: 11, Could not find the regular snapshot job for the specified publication ‘%s’.
Error: 20679, Severity: 11, Cannot execute the stored procedure sp_adjustpublisheridentityrange on the current database because the database is a republisher or a Subscriber. To adjust the identity range at a republisher or a Subscriber, synchronize with the root Publisher.
Error: 20680, Severity: 16, Failed to get metadata for a batch of rows.
Error: 20681, Severity: 10, Cannot specify a value of 1, 2, or 3 for the parameter @partition_options because publication “%s” has a compatibility level lower than 90RTM. Use the stored procedure sp_changemergepublication to set publication_compatibility_level to 90RTM.
Error: 20682, Severity: 10, Failed deletion of rows in batched delete attempt on table %s.
Error: 20683, Severity: 16, Failed batched deletion on download only article %s.
Error: 20684, Severity: 16, Deleted more rows than expected in the batched delete attempt on table %s. Stop and restart the Merge Agent.
Error: 20685, Severity: 16, Cannot drop the filter ‘%s’ . The filter specified for the @filtername parameter cannot be found.
This is applicable on below versions of SQL Server
SQL Server 2005
SQL Server 2008 R2
SQL Server 2012
SQL Server 2014
Hope this was helpful.
Thanks,
SQLServerF1 Team
In-Depth Blogs on SQL Server, Information about SQL Server Conferences and Events, SQL Server Frequently asked questions, SQL Server Trainings.