Unix Technical Forum

Problem With TSQL Subscription

This is a discussion on Problem With TSQL Subscription within the SQL Server forums, part of the Microsoft SQL Server category; --> Using the "Pull New Subscription" wizrd in the enterprise manager, I can create a subscription without a problem. Howwever ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 04:55 AM
Ernesto
 
Posts: n/a
Default Problem With TSQL Subscription

Using the "Pull New Subscription" wizrd in the enterprise manager, I can
create a subscription without a problem.

Howwever using TSQL I cannot do the same thing:
Using this sequence:
sp_addSubscription (on publisher)
sp_addPullSubscription (on subscriber)
sp_addPullSubscription_Agent (on subscriber)

The error I get is:
the "Subscription is not active"

Any hints on what I'm doing wrong will be most appreciated


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 04:55 AM
Simon Hayes
 
Posts: n/a
Default Re: Problem With TSQL Subscription

"Ernesto" <mathematicus@yahoo.com> wrote in message news:<kdOdnfRu4PPlCYfcRVn-jA@speakeasy.net>...
> Using the "Pull New Subscription" wizrd in the enterprise manager, I can
> create a subscription without a problem.
>
> Howwever using TSQL I cannot do the same thing:
> Using this sequence:
> sp_addSubscription (on publisher)
> sp_addPullSubscription (on subscriber)
> sp_addPullSubscription_Agent (on subscriber)
>
> The error I get is:
> the "Subscription is not active"
>
> Any hints on what I'm doing wrong will be most appreciated


I have no idea, but if you want to know what Enterprise Manager is
doing, then you can use Profiler to trace the TSQL it uses to create
the subscription. If that doesn't help, then you might want to
consider posting in microsoft.public.sqlserver.replication.

Simon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:48 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com