Groups | Blog | Home
all groups > sql server replication > march 2006 >

sql server replication : Replication Expired subscription clean up job failed


T Ho
3/6/2006 9:54:28 AM
Don't know why this job failed since I deleted and rebuilt the subscriber and
publisher last week. Can someone help?

Error detail says: 'Executed as user: FOSTER\sqlservice. Could not find
stored procedure ''. [SQLSTATE 42000] (Error 2812) Associated statement is
not prepared [SQLSTATE HY007] (Error 0). The step failed.'

Appreciate your time.

T Ho
3/6/2006 2:01:27 PM
Hi Paul,

Thanks for the quick reply. I read this article and don't think it apply.
I don't think I created the replication as transactional replication with
queued updating. If I did, SQL Server will add a new column in each
replicated table, right? How can I sure that the replication is not
configured as queued update?

Tsuey

[quoted text, click to view]
Paul Ibison
3/6/2006 8:02:37 PM
Tsuey,
please take a look at this to see if it applies:
http://support.microsoft.com/kb/884854
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)

Paul Ibison
3/7/2006 12:00:00 AM
Tsuey,
what is the 'update mode' if you run sp_helpsubscription?
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)



T Ho
3/7/2006 8:48:51 AM
Hi Paul, I tried to execute sp_helpsubscription in Query analyzer (hope this
is the right tool to run it) but how do I display the result set? I set the
result in grid or text or file, but can not get the result set to display.
It just simply tells me 'The command(s) completed successfully'. What did I
do wrong? The syntax I use is as below:

exec sp_helpsubscription
GO

[quoted text, click to view]
T Ho
3/8/2006 3:27:34 PM
Hi Paul, I got the sp_helpsubscription ran successfully!! The update mode
for all rows are 0's. It means 'read-only'. What does this tell me? FYI,
we configure the replication as a push replication.

Thanks for your time,
Tsuey

[quoted text, click to view]
Paul Ibison
3/8/2006 8:19:05 PM
You'll need to execute this at the publisher on the publication database and
provide the subscriber name.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)

Paul Ibison
3/9/2006 12:00:00 AM
OK - then the article definitely doesn't apply. I'd be tempted to reapply
your latest service pack on the distributor, publisher then subscriber. If
that doesn't resolve this issue they I'd raise a support case.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)



T Ho
3/9/2006 10:36:28 AM
Hi Paul,

Thanks very much for your reply. I'll try appying the SP4 to see if it helps.

Tsuey

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