Replication Monitor



I'm experiencing some very odd behavior in Enterprise Manager.

I have a process that performs the following:

1.) Restores a published database from Server A onto Server B. The
databases
are identical and they are both published.
2.) I run a script that then deletes the subscriptions to the
publication on
Server B. I do this via SP_DROPSUBSCRIPTION.
3.) I run a script that then deletes the publication. I do this via
SP_DROPPUBLICATION.
4.) Deletes the distribution database.
5.) Deletes the old jobs.
6.) Creates the publication from pregenerated scripts.
7.) Adds the subscriber.
8.) Adds the subscription.
9.) Generates the snapshot and applies it.

What's happening is that I'm seeing the job name that's assigned to the

distribution job increment by 1 each time this process is run. Also,
I'm
seeing ten instances of the publication showing up in the tree view.

Everything appears to be rtunning just fine, transactions being
replicated,
etc. I'm just wondering is there something I'm missing in my steps.
Plus,
after two or three months of this, might not look so good having 90
publications showing up in the tree view.

Thanks!

.



Relevant Pages

  • SQL Server merge replication security
    ... Microsoft SQL Server replication. ... need to have the sysadmin role on their local database to initiate the ... The AppAdmin table cannot be removed from the publication as then the ...
    (Focus-Microsoft)
  • Re: Distribution Agent not Visible
    ... If you have a publication on a database, and you script it out, modify the ... Looking for a SQL Server replication book? ...
    (microsoft.public.sqlserver.replication)
  • Replication Monitor
    ... Restores a published database from Server A onto Server B. The ... I run a script that then deletes the publication. ... Deletes the distribution database. ...
    (microsoft.public.sqlserver.replication)
  • Same Publication Showing Up Multiple Times?!?
    ... Restores a published database from Server A onto Server B. The databases ... I run a script that then deletes the publication. ... Deletes the distribution database. ...
    (microsoft.public.sqlserver.replication)
  • Re: Unable to Delete a Publication.
    ... But you can still do it using the DAC. ... database needs to be dropped. ... of the conflict tables being deleted from the published database. ... Is there any way I can forcibly delete this publication. ...
    (microsoft.public.sqlserver.replication)