Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Replication / April 2006

Tip: Looking for answers? Try searching our database.

Adding subscriptions via script

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LPR-3rd - 21 Apr 2006 14:39 GMT
When I add a subscription via a script, the subscription does not
appear in the Replication
Monitor->Publishers->'servername'->'publication' folder in EM.  The
script is being generated by EM.  When I add a subscription via the
wizard in EM, it appears in the above mentioned folder.

Am I doing something wrong??

Is there another parameter I need to pass to get this to happen??

AHIA,
Larry...
Paul Ibison - 21 Apr 2006 15:55 GMT
Larry - if you add the publication via a wizard and then get EM to script it
out, are these scripts the same as your manual ones. If they are, then it
must be a refresh issue.
 Cheers,
          Paul Ibison SQL Server MVP, www.replicationanswers.com
            (recommended sql server 2000 replication book:
            http://www.nwsu.com/0974973602p.html)
LPR-3rd - 24 Apr 2006 14:39 GMT
This seems to be the logical answer, but not the case.  One example is
if I have a schedule for the distribution agent, that is defined in the
wizard, when I script it  out, the dist agent is scheduled to start
automatically when SQL Server Agent starts.

Also the subscription does not appear on the publication when the
script is run.

larry...
Paul Ibison - 28 Apr 2006 11:03 GMT
Larry,
I have reprod this issue. It applies exclusively to Push subscriptions in
SQL Server 2000. Pull in 2000 or either in SQL Server 2005 are OK. In your
case you could issue sp_changesubscriber_schedule to modify.
 Cheers,
          Paul Ibison SQL Server MVP, www.replicationanswers.com
            (recommended sql server 2000 replication book:
            http://www.nwsu.com/0974973602p.html)
LPR-3rd - 28 Apr 2006 19:20 GMT
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.