Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.45 KB

mssql-eng020596.md

File metadata and controls

38 lines (31 loc) · 1.45 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic ms.custom helpviewer_keywords monikerRange
MSSQL_ENG020596
MSSQL_ENG020596
MashaMSFT
mathoma
03/04/2017
sql
replication
reference
updatefrequency5
MSSQL_ENG020596 error
=azuresqldb-mi-current||>=sql-server-2016

MSSQL_ENG020596

[!INCLUDE SQL Server SQL MI]

Message Details

Attribute Value
Product Name SQL Server
Event ID 20596
Event Source MSSQLSERVER
Component [!INCLUDEssDEnoversion]
Symbolic Name
Message Text Only '%s' or members of db_owner can drop the anonymous agent.

Explanation

You do not have sufficient permissions to drop the agent for the anonymous subscription. The login used when calling sp_dropanonymousagent (Transact-SQL) must be a member of the sysadmin fixed server role at the Distributor or db_owner fixed database role in the distribution database, or the user must be the one that initiated the first run of the agent.

User Action

Login with the appropriate credentials, and execute sp_dropanonymousagent.

See Also

Errors and Events Reference (Replication)