all groups > sql server replication > november 2005 >
You're in the

sql server replication

group:

Transactional Replication


Transactional Replication John
11/14/2005 2:15:03 PM
sql server replication:
I am doing only one way TR, when snapshot agent is scheduled for daily (is
this correct?), because my database have 107 tables, out of which 73 have
primary keys, we want these tables should be transactional oriented update.

we also set up Snapshot Replication for 107 tables, which is working fine.

when snapshot agent in Transactional Replication ran it gave message "a
snapshot was not generated because no subscriptions needed intialization".

please advice me, how can i troubleshoot this issue.

Re: Transactional Replication Raymond Mak [MSFT]
11/14/2005 3:06:52 PM
Hi John,

You would need to add subscription to your new transactional publication
since the new publication is independent of your existing snapshot
publication. You would also need to remove the 73 articles that you have
included in the new transactional publication from the old snapshot
publication just so the two will not interfere with one another at the
subscriber.

-Raymond
[quoted text, click to view]

RE: Transactional Replication Tejas Parikh
11/14/2005 3:22:04 PM
Did you create a subscription relating to that publication?
If so, was it there for a long time and already had the data from the
snapshot?

What you can do is, right click the subscription and reinitialize the
subscription.
When you do this, depending on your publication setting, your subscription
might be completely wiped out. then rerun the snapshot agent and The
distribution agent should then apply it to the subscription. it'll be applied
without the error you are getting.

Make SURE, you reinitialize the subscription, only if you dont need anything
in that related db as the schema and data might be wiped out...


RE: Transactional Replication Janet
11/15/2005 1:07:04 AM
Transactional Replication only uses a snapshot to initialize the
subscription. Once the subscription is initialized the snapshot agent will
not generate anything, hence the message you are recieving.
The Transactional replication stays in sync using Logreader agents(publisher
to distributior) and Distribution agents(Distributor to subscriber) which by
default run continuously.

[quoted text, click to view]
AddThis Social Bookmark Button