Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.59 KB

File metadata and controls

40 lines (33 loc) · 1.59 KB
title MSSQL_ENG020596 | Microsoft Docs
ms.custom
ms.date 03/04/2017
ms.prod sql
ms.prod_service database-engine
ms.reviewer
ms.technology replication
ms.topic conceptual
helpviewer_keywords
MSSQL_ENG020596 error
ms.assetid fa33627c-2e99-4be3-9424-52ab83446e07
author MashaMSFT
ms.author mathoma
monikerRange =azuresqldb-mi-current||>=sql-server-2016||=sqlallproducts-allversions

MSSQL_ENG020596

[!INCLUDEappliesto-ss-asdbmi-xxxx-xxx-md]

Message Details

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)