Solved

SQL 2008 Transactional replication and agent accounts

Posted on 2013-12-23
2
642 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

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

Suggested Solutions

Title # Comments Views Activity
Many to one in one row 2 40
SQL- GROUP BY 4 26
How can I retrieve the column names from a T-SQL table? 2 16
Database Mail Profiles 1 25
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how the fundamental information of how to create a table.

730 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