[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SQL 1005 - Replication Snapshot Job Error

Posted on 2006-03-28
4
Medium Priority
?
957 Views
Last Modified: 2008-03-06
I am trying to setup a snapshot replication. I keep getting this error. I would appreciate if anyone can tell me what privileges I need for which user and/or the user used to logon the SQL Agent service.

Thanks in advanced.





Date            3/28/2006 2:42:15 PM
Log            SQL Server (Current - 3/28/2006 2:42:00 PM)

Source            spid54

Message
Replication-Replication Snapshot Subsystem: agent KPI-kpi-KPI-1 failed. Executed as user: network4leaders\SQLReplication. A required privilege is not held by the client.  The step failed.
0
Comment
Question by:phermi
  • 3
4 Comments
 

Author Comment

by:phermi
ID: 16314523
I forgot .. this is SQL 2005
0
 
LVL 10

Accepted Solution

by:
AaronAbend earned 2000 total points
ID: 16317651
What user are you using? You should not use localsystem. Use a windows account set up for the purpose of replication. That user will need privileges to start and stop services (Usually I use Administrator privs, but that is fairly broad and some companies will not allow that.. you'll need help from a windows security person if you want more info on that).

Also, make sure the user has access to the replication directory on the publisher.

0
 

Author Comment

by:phermi
ID: 16317959
AaronAden,

Because I am replicating between "un-trusted" SBS 2003 domains, I created an user SQLReplication that the SQL Server Agent is using to logon. Because of the error, I have made this user members of the Builin Administrators group as well as Domain Admins. From the DB perspective, by consecuence, it is a member of sysadmin. That user is the process account used under Agent Security for the Publication.

Regarding the folder on the Publisher that is the same as the Distributor, SQLReplication has full control over C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\repldata wich contains "unc" and then inside the folder for the snapshot.

I honestly do not what I'm missing. Thanks for your help. I hope you can guide me further.
0
 

Author Comment

by:phermi
ID: 16318025
AaronAden,

I was lucky to come accross this article which addresses and fixes my problem:

http://support.microsoft.com/?kbid=911305

Being the only one who replied to me, I will assign the points to you.

I hope I can count with your advice in the future.

Regards,

Pedro Hermida
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

873 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