all groups > sql server replication > july 2004 >
You're in the

sql server replication

group:

Copy subscription fails



Copy subscription fails Sam
7/13/2004 2:13:08 PM
sql server replication: I understand that there is a limitation in windows for compressing 2gb +. I
am trying to create an msf by "copying a subscription". As an alternative
method I have tried to copy the subscription database using the "copy
database" wizard it gives me an error that is supposedly suppost to be a
permissions problem. Has anyone in the group been able to figure out where
the permissions are to be set to copy a database between two servers. I've
already tried the domain administrator in which both machines are members
of.

Re: Copy subscription fails Sam
7/14/2004 1:20:36 PM
I figured out how to copy a database. Thank you for your help. But the
original issue was to avoid using the copy subscription method which is
limited to 2gb. The copy database wizard does not allow me to copy a
replication database. How do I get a subscription on another machine without
using snapshot folders. I loved the msf files because you can manage it
easily with novice users but like I said before it has a 2gb limit. What is
the simplest way to move the subscriptions without a snapshot folder (merge
replication)?

[quoted text, click to view]

Re: Copy subscription fails Hilary Cotter
7/14/2004 3:55:33 PM
there error you are probably getting is because an account or dbuser is not
present in the target database.

repeat the copy and post back here with the exact error message you are
getting.

--
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html


[quoted text, click to view]

Re: Copy subscription fails Hilary Cotter
7/15/2004 7:13:49 AM
back up the publication database, copy the backup file to the subscriber and
restore it there. Then do a nosync subscribption.

A small snapshot will be generated and distributed to your subscription with
procs, triggers, and metadata merge needs to work.

--
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html


[quoted text, click to view]

Re: Copy subscription fails Sam
7/15/2004 3:07:54 PM
I tried what you've told me and it worked great so far. However nothing is
too simple I got the following message:

The merge process could not initialize the subscription.
{?=call sp_MSaddanonymousreplica (?,?,?,?,?,?)}
Invalid subscription type is specified. A subscription to publication 'XXX'
already exists in the database with a different subscription


I tried to drop the subscription but said it doesn't exist

sp_droppullsubscription
@publisher='BUSHWACKER\TEST',@publisher_db='XXX',
@publication='XXX'

Server: Msg 14135, Level 11, State 1, Procedure sp_droppullsubscription,
Line 143
There is no subscription on Publisher 'BUSHWACKER\TEST', publisher database
'XXX', publication 'XXX'.


[quoted text, click to view]

AddThis Social Bookmark Button