Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Could not find stored procedures ?

$
0
0
    

I am trying to test the success of  Transactional replication, for that  I executed the stored proceduresp_publication_validation :


use distribution
exec sys.sp_publication_validation 
@publication='ReplicationFaouzi',
@rowcount_only=1,
@full_or_fast=0,
@shutdown_agent=0

but i got an error result :


Msg 20026, Level 16, State 1, Procedure sp_MSpublication_validation, Line 57 The publication 'ReplicationFaouzi' doesn't exist ?

I checked than  the code of that procedure  , and  i found that it calls  two other un-found stored procedures ;sys.sp_MSreplcheck_publish and sys.sp_MSrepl_getpublisherinfo :


     
exec @retcode = sys.sp_MSreplcheck_publish
	if @@error <> 0 or @retcode <> 0
	begin
		return (1)
	end
	EXEC @retcode = sys.sp_MSrepl_getpublisherinfo	@publisher      = @publisher,
									  @publisher_type= @publisher_type OUTPUT,
									  @rpcheader = @cmd OUTPUT

what is wrong  ? and how i can fix that ?





 

Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>