Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Not Able to Drop Article From Publication

$
0
0

Hi All,

We are planning for a deployment, in part of our testing we found that a table is not being dropped when executed below script. Seems some corruption in the publishing database:

Used Script to Drop Article:

EXEC sp_dropsubscription @publication = 'TestPub', @article = '[dbo].[REP1T]', @subscriber = 'CHISQL801', @destination_db = 'TESTDB_KD_REP'
EXEC sp_droparticle @publication = 'TestPub', @article= '[dbo].[REP1T]',  @force_invalidate_snapshot= 0

Error Message is as follows:

Msg 20027, Level 11, State 1, Procedure sp_MSrepl_dropsubscription, Line 415
The article '[dbo].[REP1T]' does not exist.
Msg 20027, Level 11, State 1, Procedure sp_MSrepl_droparticle, Line 269
The article '[dbo].[REP1T]' does not exist.

How to proceed further, please suggest. Thank You


Grateful to your time and support. Regards, Shiva


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>