?
Solved

SQL server 2008R2 snapshot agent permissions

Posted on 2014-01-09
4
Medium Priority
?
336 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
  • 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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

615 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