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

How do I remove a publication when the subscribers are already removed at the subscriber server?

$
0
0

When I right click on the replication and choose delete I get:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Are you sure you want to delete publication "TS02-Repl" in database "TS02"?

All subscriptions to this publication will also be deleted except records at Subscriber which have to be deleted at Subscriber.

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.0.1600.22&EvtSrc=Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Replication.ReplicationMenuItem&EvtID=DeletePublicationConfirmation&LinkId=20476

------------------------------
BUTTONS:

&Yes
&No
------------------------------

When i click Yes:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Could not delete publication 'TS02-Repl'.

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.0.1600.22&EvtSrc=Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Replication.ReplicationMenuItem&EvtID=CantDeletePublication&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

'DPSS2K8SQL1' is not defined as a Subscriber for 'DPSS2K8SQLPROD1'.
Could not update the distribution database subscription table. The subscription status could not be changed.
Changed database context to 'TS02'. (Microsoft SQL Server, Error: 20032)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.2531&EvtSrc=MSSQLServer&EvtID=20032&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------
What can I do?

I'm using SQL Server Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64)   Mar 29 2009 10:11:52   Copyright (c) 1988-2008 Microsoft Corporation  Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: )

Thanks


Viewing all articles
Browse latest Browse all 4054


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