Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.23 KB

mssqlserver-21871-database-engine-error.md

File metadata and controls

32 lines (27 loc) · 1.23 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
MSSQLSERVER_21871
MSSQLSERVER_21871
MashaMSFT
mathoma
04/04/2017
sql
supportability
reference
21871 (Database Engine error)

MSSQLSERVER_21871

[!INCLUDE SQL Server]

Details

Attribute Value
Product Name SQL Server
Event ID 21871
Event Source MSSQLSERVER
Component SQLEngine
Symbolic Name SQLErrorNum21871
Message Text Publisher %s of database %s has not been redirected.

Explanation

sp_validate_replica_hosts_as_publishers checks the table MSredirected_publishers in the distribution database for an entry for the identified publisher and publisher database. sp_validate_replica_hosts_as_publishers returns error 21871 when no entry is found.

User Action

sp_validate_replica_hosts_as_publishers is only relevant for redirected publishers. If the publisher database is a member of an availability group, use the stored procedure sp_redirect_publisher to associate the publisher and publisher database with the Availability Group Listener Name of the availability group.