Hello.
I'm working with SQL Server 2014 and configure P2P Transactional Replication between two instances; So both of them are active for Insert,Update and Delete actions.
Now I want to do a simple action that is "drop an Article" from publication, but I can't!!!
From Management Studio i get this error:
TITLE: Microsoft SQL Server Management Studio
------------------------------
Object reference not set to an instance of an object. (CreatePubWizard)
And by T-SQL:
EXEC sp_droparticle
@publication = N'pub1',
@article = N't1',
@force_invalidate_snapshot = 1;
I get this error:
Msg 14046, Level 16, State 1, Procedure sp_MSrepl_droparticle, Line 286 [Batch Start Line 1]
Could not drop article. A subscription exists on it.
I've tried to drop it on Instance 2, and again give me same errors, obviously because of the structure of this kind of Replication(That a DB is Publication on each server and is also Subscription at same time.)
I don't want to drop subscription and reconfigure my replication.
So, is there any solution?
Thanks.