Solved

sql replication removing permissions on database

Posted on 2014-01-31
2
321 Views
Last Modified: 2014-01-31
We are using transactional replication to replicate 3 tables from a sql 2008 database to a sql2012 database. Replication is is removing permissions from the sql2012 database.

I thought it was the snap shot at initiation that was causing it but the log shows the snapshot was delivered at 6:00 PM and the permissions were altered some time after 10:00 PM.

Any ideas on what is happening and how to stop it?
0
Comment
Question by:jimmylew52
2 Comments
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 39824203
In my opinion that subscription was initialized therefor the permissions were lost. Please see notes about permissions in replicated databases and as you can see the "Replication" itself (other than subscription initialization) won't drop your granted permissions on destination (subscriber) database.

http://technet.microsoft.com/en-us/library/ms151740.aspx


What happens to permissions granted in a subscription database if a subscription is reinitialized?

"
By default, objects at the Subscriber are dropped and recreated when a subscription is reinitialized, which causes all granted permissions for those objects to be dropped. There are two ways to handle this:
"
0
 
LVL 1

Author Closing Comment

by:jimmylew52
ID: 39825529
Thank You
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
In this article I will describe the Backup & Restore 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.
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.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

705 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now