Snapshot agent in a loop?

Hi experts,

Long time no ask!  But now I am getting into SQL Server merge replication (SQL 2008 R2).

I got a simple scenario working very well but it used my windows domain account for everything. So I took the Microsoft tutorials about secure replication with local accounts for all the agents and setting a share on the snapshot folder.

Got it all set up (in SSMS), created a publication, went to start the snapshot agent (security: repl_snapshot account) and, well, it's still starting the agent 24 hours later. I go to stop it, and I get an error saying it can't stop it because it isn't running.

It may well be a permissions issue, but tbh I'm lost.

Two problems - 1) to stop the snapshot agent and 2) to get it running OK.

Any ideas welcome.

Colin BrazierAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Colin BrazierAuthor Commented:
Okay, some slight progress.  The snapshot agent resolved itself and stopped.

Now I get the error message that access was denied to the default snapshot folder, but when I look at this folder it is shared, and the repl_snapshot account has full permissions on this share.
Please, have a look to the Windows Security Log. You might find some records reporting permission denied. The details of these records show who/what is trying to access the share. It could even be an anonymous or machine account attempting.
Colin BrazierAuthor Commented:
Thanks for your reply, but that might be difficult...I'll keep you posted.

Colin BrazierAuthor Commented:
Hi, I managed to solve it by making the repl_snapshot account an administrator.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Colin BrazierAuthor Commented:
In replication, the agents need to be administrator to write to a folder, even if it is shared.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.