March 10, 2022 at 5:37 pm
Hello,
I recently attempted to set up a new transactional replication process. Unfortunately, I haven't had any success so far running the snapshot agent. When the job kicks off, I quickly get this error:
"Executed as user [Domain\UserName]. A required privilege is not held by the client. The step failed."
Here's what I've done so far to try and troubleshoot this.
Is there anything else I could be missing here? Your help is greatly appreciated!
March 10, 2022 at 6:22 pm
Have never used transactional replication to be honest.
but heres a document from Microsoft, take a look at it.
SSC link
Fixing ‘A required Privilege is not held by client’ Error
Regards,
March 10, 2022 at 6:37 pm
Thanks Alejandro, but I already tried their suggested solution (see #4 above). Also, I never actually changed the SQL Server Agent service startup account, so I'm not sure it would have applied anyway.
March 10, 2022 at 6:52 pm
What account is the snapshot SQL Agent job running as? It needs to be sa.
Michael L John
If you assassinate a DBA, would you pull a trigger?
To properly post on a forum:
http://www.sqlservercentral.com/articles/61537/
March 10, 2022 at 7:09 pm
Hi Michael, all of the SQL agent jobs associated with replication are running as sa.
March 21, 2022 at 1:56 pm
Still struggling to get this working, still hoping for any other suggestions.
I've tried giving the AD account that runs the job db_owner permissions on all DBs just to see if lack of DB permissions had something to do with it, but no dice.
I've also made sure that the account that runs the SQL Server Agent jobs has access to the file share where the replication files go (the AD account that runs replication already has read/write/modify access). I'm running out of ideas.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply