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

Unable to Drop Subscription

$
0
0

Hi All,

This is the error message please explain me how to solve this issue,

'XXXXX\SQLExpress' is not defined as a Subscriber for 'PUBLISHERNAME'.
The subscription could not be dropped at this time.
Changed database context to 'DATABASENAME'. (.Net SqlClient Data Provider)

And also


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

Could not delete the subscription at Subscriber 'XXXXXX\SQLExpress' in database XXXXXX'.

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

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

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

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

'XXXXXXX\SQLExpress' is not defined as a Subscriber for 'XXXXXXXX'.
The subscription could not be dropped at this time.
Changed database context to 'XXXXXXX'. (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
------------------------------

 

When i try to remove the subscription from Publisher

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

Could not delete the subscription at Subscriber 'XXXXX\SQLExpress' in database 'XXXXX'. The subscription record does not exist at Subscriber.

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

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

OK
------------------------------

XXXXX\SQLExpress' is not defined as a Subscriber for 'DBNAME'.
The subscription could not be dropped at this time.
Changed database context to 'DBNAME'. (.Net SqlClient Data Provider)

when i run the delete prorcedure manually

I ran this query :

exec

sp_dropmergesubscription@publication=N'CatalogPublication', @subscriber =N'XXXXXX\SQLExpress', @subscriber_db =

N'XXXXXXX'

GO

Error Occured:

Msg 20032, Level 16, State 1, Procedure sp_MSdrop_merge_subscription, Line 72

'XXXX\SQLExpress' is not defined as a Subscriber for 'XXXXXXX'.

Msg 14056, Level 16, State 1, Procedure sp_dropmergesubscription, Line 482

The subscription could not be dropped at this time.

PLease suggest me what to do...

PLease consider this a urgent issue.

Regards

JAK

 

 I have changed the database names due to security reasons. But the content not changed.


Regards Jak

Viewing all articles
Browse latest Browse all 4054

Trending Articles



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