SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Database Object Permissions Lost


Database Object Permissions Lost

Author
Message
zaizaisql
zaizaisql
SSC Rookie
SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)

Group: General Forum Members
Points: 41 Visits: 186
Hi,

I detached a database, moved it to another bigger disk, attached it back, executed the change_users_login. This is a replicated database. -- so before above steps, i drop all the subscriptions, and publications for this database.

The next day, I received reports from developers and users that the permissions to objects like SELECT, DELETE, INSERT, UPDATE, EXECUTE are gone they are receiving error from their applications.
They had problems with lost permissions from other databases as well in that same instance which I did not do any maintenance.

I believe that object permissions will not disappear or remove when detaching a database.
Thank God I have a backup of the previous objectpermissions script and just executed it.

What possible could have happen?

Thank you,
ZaiZai
bernard.baeten
bernard.baeten
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 27
read this : http://tonythetester.blogspot.com/2008/08/unable-to-open-physical-file.html
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search