all groups > sql server replication > september 2004 >
You're in the

sql server replication

group:

Queue Reader Agent fails : Could not found stored procedure [upd].sp_MSsync...


Queue Reader Agent fails : Could not found stored procedure [upd].sp_MSsync... Askin Karakas
9/13/2004 3:15:17 AM
sql server replication:
Hi,

I am setting up a new queued update - transactional replication using sql as
queued commands store. There is no problem about publisher to subscriber
distribution. But queue reader agent that will deliver transactions from
subscriber to publisher fails with an error message saying "ODBC
Error:Could not find stored procedure upd.sp_MSsync_upd_Table_15" .
There is a sp named sp_MSsync_upd_Table_15 but owner is dbo, not upd. Same
for ins and del stored procedures

I run profiler and see that queue reader agent calls
[upd].[sp_MSsync_upd_Table_15] sp to update . Indeed, it must call
[dbo].[sp_MSsync_upd_Table_15] procedure, change [upd] to [dbo] when
executing sp.

I checked a running replication system with agent parameter added as
"-outputverboselevel 2". Though sp_replqueuemonitor shows queued
transactions will call [upd].].[sp_MSsync_upd_Table_15], I can see from log
file and profiler that agent changes upd to dbo and calls correct sp.

I see in log file that agent calls dbo.sp_getqueuedarticlesynctraninfo
(N'PublicationName', 49) procedure to get actual sp' s for that article.
That call does not exist in log file of faulty replication system, may be
this is the problem.

I need a solution without recreating replication if possible

TIA

Askin Karakas

Re: Queue Reader Agent fails : Could not found stored procedure [upd].sp_MSsync... Hilary Cotter
9/13/2004 7:56:35 AM
sounds like a bug.

I'd script out the procedures and then edit them to change the owner names.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html


[quoted text, click to view]

AddThis Social Bookmark Button