Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

How to set up repl_distributor for data access

$
0
0

I need to run queries on the distributor server from the publisher during deployment in a transactional replication setup. I see repl_distributor is set up as a linked server, but am having trouble setting it up for data access.

I'll call my publisher server "pub" and distributor "distr". I ran

EXEC sp_serveroption 'repl_distributor', 'DATA ACCESS', TRUE

on pub and

EXEC sp_serveroption 'distr', 'DATA ACCESS', TRUE

on distr.

I'm still not able to query distr from pub

Msg 7411, Level 16, State 1, Line 1 Server 'repl_distributor' is not configured for DATA ACCESS.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



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