Assume that you create a Peer-to-Peer (P2P) publication in Microsoft SQL Server 2014 and add a stored procedure execution article to it. When the stored procedure is executed at the Publisher, replication executes the corresponding procedure at the Subscriber. However, when you try to drop the stored procedure execution article, you may receive an error message that resembles the following:
Cannot drop article <stored procedure name>.
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Cannot continue the execution because the session is in the kill state.
A severe error occurred on the current command. The results, if any, should be discarded.
Changed database context to <database name>. (Microsoft SQL Server, Error: 596)
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Article ID: 4023926 - Last Review: 2017, ഓഗ 8 - Revision: 6