| title | MSSQL_ENG014121 | |
|---|---|---|
| description | MSSQL_ENG014121 | |
| author | MashaMSFT | |
| ms.author | mathoma | |
| ms.date | 09/25/2024 | |
| ms.service | sql | |
| ms.subservice | replication | |
| ms.topic | reference | |
| ms.custom |
|
|
| helpviewer_keywords |
|
|
| monikerRange | =azuresqldb-mi-current||>=sql-server-2016 |
[!INCLUDE SQL Server SQL MI]
| Attribute | Value |
|---|---|
| Product Name | SQL Server |
| Event ID | 14121 |
| Event Source | MSSQLSERVER |
| Component | [!INCLUDEssDEnoversion] |
| Symbolic Name | |
| Message Text | Could not drop the Distributor '%s'. This Distributor has associated distribution databases. |
A [!INCLUDEssNoVersion] instance that is configured as a Distributor cannot be removed from the role of Distributor because there are distribution databases associated with the instance. This error occurs if you attempt to drop a distribution database that is associated with one or more Publishers.
To find the names of any Publishers and distribution databases associated with this Distributor, execute sp_helpdistpublisher (Transact-SQL) from any database on the Distributor.
Execute sp_dropdistributiondb (Transact-SQL) for any distribution databases associated with this Distributor. After all distribution database associations are removed, you can disable distribution.