Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Cannot create subscription

 
   Database Help (Home) -> Replication RSS
Next:  SQL2005 Round  
Author Message
David C4

External


Since: Aug 20, 2004
Posts: 66



(Msg. 1) Posted: Thu Feb 12, 2009 9:45 am
Post subject: Cannot create subscription
Archived from groups: microsoft>public>sqlserver>replication (more info?)

Our client has a merge publication (SQL 2005) with publisher and distributor
on same server. I am trying to create the local subscription on a laptop
with SQL 2005 Express. I go through the create new subscription wizard just
fine but when it goes to create the subscription from the server I get the
following error:

"Cannot create the subscription because the subscription already exists in
the subscription database. Only one subscription to the same publication is
allowed in each subscription database. Drop the subscription and add it
again if necessary. If the problem persists, replication metadata might be
incorrect; see Books Online for troubleshooting information.
Changed database context to 'MCFIData'. (Microsoft SQL Server, Error:
14058)"

The subscription does not exist in the SQL Express laptop. I even tried
deleting the local db and recreating it, but get the same error. Any ideas
on what I can look for? Thanks.

David

 >> Stay informed about: Cannot create subscription 
Back to top
Login to vote
Paul Ibison

External


Since: Oct 03, 2008
Posts: 145



(Msg. 2) Posted: Thu Feb 12, 2009 9:45 am
Post subject: RE: Cannot create subscription [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi David,
presumably there is an entry at the publisher for this subscriber. Have a
look to see if this is the case. If so then run:

USE yourpublisherdatabase
EXEC sp_dropmergesubscription
@publication = @publication,
@subscriber = @subscriber,
@subscriber_db = @subscriptionDB;
GO

HTH,

Paul Ibison

 >> Stay informed about: Cannot create subscription 
Back to top
Login to vote
David C4

External


Since: Aug 20, 2004
Posts: 66



(Msg. 3) Posted: Thu Feb 12, 2009 11:52 am
Post subject: Re: Cannot create subscription [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I think you are right. Can I also just remove it at the server itself via
SQL Server Management Studio? Thanks.

David
"Paul Ibison" wrote in
message
> Hi David,
> presumably there is an entry at the publisher for this subscriber. Have a
> look to see if this is the case. If so then run:
>
> USE yourpublisherdatabase
> EXEC sp_dropmergesubscription
> @publication = @publication,
> @subscriber = @subscriber,
> @subscriber_db = @subscriptionDB;
> GO
>
> HTH,
>
> Paul Ibison
 >> Stay informed about: Cannot create subscription 
Back to top
Login to vote
Paul Ibison

External


Since: Oct 03, 2008
Posts: 145



(Msg. 4) Posted: Fri Feb 13, 2009 1:28 am
Post subject: Re: Cannot create subscription [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
Display posts from previous:   
Related Topics:
subscription information - How can I delete subscription information at the subscriber one I delete the subscription at the publisher? Thanks,

Is there any way to know a subscription is nearly expired? - Hi all, Here is my case: I'm using SQL 2000 and there is a publisher (Windows Server) and several subscribers (XP on PC or notebook). All 3 types of replication (transactional, snapshot, merge) are used in several replications. Some PCs and..

Orphaned subscription - We had a pull subscription set up between two SQL 2005 servers at different sites, (SP2, v. 9.0.3161). Somehow, the subscription record was deleted at the Subscriber, but still remains at the Publisher. Attempting to delete it just seems to lock up....

How to prevent reinitialization of a subscription? - Hi everybody, I have a problem with frequently reinitializing of subscribtions. I use sqlserver 2005 and I use transactional replication. after lasting 1 or 2 days from synchronizing my databases, when I want to synchronize my articles again I encounter...

Reverse "Reinitialize all Subscription" ? - Is there any way I can reset it to the clients that did not sync yet. We have some cleints that did not start syncing yet and it looks like somebody set all clients to "Reinitialize all Subscription" Is there any way to reverse it? Few cli...
   Database Help (Home) -> Replication All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]