Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SQL server 2008R2 snapshot agent permissions

Posted on 2014-01-09
4
Medium Priority
?
330 Views
Last Modified: 2014-01-09
Hi experts,

What are the minimum or recommended permissions for the Windows account running a merge replication?  

I have read http://technet.microsoft.com/en-us/library/ms151868.aspx but I could not write to the snapshot folder until I had changed the security of the login from public (with dbowner on the distribution database) to sysadmin.  Does the account have to be a sysadmin to do this?

Thanks in advance for your help.

Colin
0
Comment
Question by:colinspurs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 2000 total points
ID: 39768196
It also needs to have db_owner on the publication database.  So try giving it db_owner database role on the publication database and remove the sysadmin server role.
0
 
LVL 3

Author Comment

by:colinspurs
ID: 39768252
Ah!  I meant it has db_owner on the publication database...I had forgotten about the distribution database.  All fine now!  Tanks very much.
0
 
LVL 3

Author Comment

by:colinspurs
ID: 39768256
Whoops - tHanks!
0
 
LVL 10

Expert Comment

by:PadawanDBA
ID: 39768260
No problem!  Always happy to help someone with getting least privileged security working!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question