Solved

SQL 2008 Transactional replication and agent accounts

Posted on 2013-12-23
2
628 Views
Last Modified: 2013-12-30
I'm having problem setting up transactional replication.
Once I set up publication, it seems that it generates snapshot file successfully. But then when I create subscription from another server, both publication and subscription in Replication monitor shows 'Retrying failed command'.
I think this is something has to do with the accounts I selected when I create publication and subscription.

What I did is, I created a new SQL account, then gave db_owner and publication for the database and make it as sys_admin then I set up publication with it.

Then on subscriber, I created another SQL account, the same name I created in publisher and gave same permissions for login and database mappings.

When I open Repl mon, it shows the account I use still can't make snapshot agent to go alive. I wonder how it successfully created the initial snapshot, then.

What are the proper account setup for replication agents on both publication and subscriber?
0
Comment
Question by:crcsupport
2 Comments
 
LVL 1

Author Comment

by:crcsupport
ID: 39737157
I'm trying to make transactional replication from SQL 2008 STD to SQL 2012 Express. There's
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 39737921
The specifics of the security requirements for each agent involved in replication are documented here: http://technet.microsoft.com/en-us/library/ms151868(v=sql.105).aspx

But basically they generally need to be Windows accounts, rather than SQL accounts, have at least db_owner privileges, and the subscriber will also need read permissions on the directory where the snapshot resides.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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.

790 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