SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to view subscriptions to a publication


How to view subscriptions to a publication

Author
Message
SQLUserC
SQLUserC
Mr or Mrs. 500
Mr or Mrs. 500 (531 reputation)Mr or Mrs. 500 (531 reputation)Mr or Mrs. 500 (531 reputation)Mr or Mrs. 500 (531 reputation)Mr or Mrs. 500 (531 reputation)Mr or Mrs. 500 (531 reputation)Mr or Mrs. 500 (531 reputation)Mr or Mrs. 500 (531 reputation)

Group: General Forum Members
Points: 531 Visits: 328
Hello all,

I am attempting to delete a publication in SQL Server 2008. When I attempt to delete it, I receive the error:

"Could not drop article. A subscription exists on it. (Microsoft SQL Server. Error: 14046)"

However, there are no subscriptions listed under Replication. When I launch Replication Monitor, Subscription Watch List, there is a subscription listed. However, when I right-click on it, and try to click on Properties or "View Details", it says that the subscription doesn't exist.

I am hoping that perhaps using a T-SQL command, I can better understand what is happening. Does anyone know how I can use a T-SQL command to view the subscription to the publication, and delete it? I would also appreciate any suggestions that involve the GUI.

Thanks.
DHeath
DHeath
SSC Eights!
SSC Eights! (883 reputation)SSC Eights! (883 reputation)SSC Eights! (883 reputation)SSC Eights! (883 reputation)SSC Eights! (883 reputation)SSC Eights! (883 reputation)SSC Eights! (883 reputation)SSC Eights! (883 reputation)

Group: General Forum Members
Points: 883 Visits: 650
I am having the same issue and when i try to remove the subscription is gives an error saying subscription ("The Subscription could not be droped at this time.change database context to Account") is in use in in fact its not. I am using Merge Replication and wondering if this is my issue...either way does anyone have any ideas as how to drop this and start over..i was thinking of just removing the distribution database all together but i am sure there will be something stopping me from that as well. Any ideas?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search