SQL Server Error Msg 21161 – Could not change the Publisher because the subscription has been dropped. Use sp_subscription_cleanup to clean up the triggers.

In this blog post, let’s learn about the error message “21161 – Could not change the Publisher because the subscription has been dropped. Use sp_subscription_cleanup to clean up the triggers.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

21161 – Could not change the Publisher because the subscription has been dropped. Use sp_subscription_cleanup to clean up the triggers.

Reason for the Error

To be update soon…

Solution

To be update soon…