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

Issue while adding subscriber for a oracle publisher on SQL server 2017

$
0
0

Hi All,

I am encountering this issue while trying to adding subscriber for a oracle publisher on SQL server 2017,I am able to perform the same step on SQL server 2014.

Msg 14071, Level 16, State 1, Procedure distribution.sys.sp_MSrepl_addsubscription, Line 191 [Batch Start Line 1295]
Could not find the Distributor or the distribution database for the local server. The Distributor may not be installed, or the local server may not be configured as a Publisher at the Distributor.
Msg 20021, Level 16, State 1, Procedure distribution.sys.sp_MSrepl_addpushsubscription_agent, Line 258 [Batch Start Line 1295]
The subscription could not be found.

Below is the command which i am using to add subscriber

use [distribution]
exec sp_addsubscription @publication = N'MPI_PUB', @subscriber = N'ServerName', @destination_db = N'Dest_db', @publisher = N'Oracle_publisher', @subscription_type = N'Push', @sync_type = N'automatic', @article = N'ALL', @update_mode = N'read only', @subscriber_type = 0

Can you please help me out,

Thanks,



Viewing all articles
Browse latest Browse all 4054

Trending Articles