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

Permissions for Merge Repl Pull Subscription

$
0
0

SQL 2014 Standard
Merge replication problem.

I understand and read in msdn.microsoft.com/en-us/library/ms151868(v=sql.120).aspx , in the 'Permissions That Are Required by Agents' section:
That the Merge Agent for pull subscriptions must be a user in the distribution database or “The user can be the guest user”
But what permissions does the user or guest need in the distribution database?

We have had merge replication running for years. Recently Pull subscriptions began failing after some OS maintenance/reboots. The error was "You do not have the required permissions to complete the operation". I isolated the problem to the distribution database.

Steps I've taken:

I explicitly add the subscriber to the distribution database and add to db_reader & db_writer roles, pull replication fails.

Add subscriber to db_owner role, pull replication works again.

Dropped the subscriber from the distribution database and added guest to db_owner, pull replication works.

db_owner can't be correct.  Seems like too much permissions. I'm sure the subscriber was never added to the distribution database before, so they must have had access via the guest user.

What permission does the guest user need in the distribution database?  Or, what am I missing?


Thanks,
Tom


Viewing all articles
Browse latest Browse all 4054

Trending Articles