Problem with securables on database restore


i have database backup made on sql server 2005 machine.  backup made using ssms logged in 'sa' on local machine console.

 

i trying restore database machine sql server 2005 on it.  if restore database using ssms logged in 'sa' on new local machine console , try see 'securables' local user in database, not see anything.  however, if restore database connecting same sql server 2005 machine using ssms machine , logging in 'sa', when restore database, can see securables user.

 

to further complicate things, if create new user on target machine using local connection, cannot set securables user, if use ssms connection machine, can.

 

has experienced this, , there can alleviate behavior.  need ship backup of database customer, script creation of user , permissions.  have of scripting completed, doesn't persist settings because of noted above.

 

thanks

--ct

 

edit: more information

 

here's bit more tried.  logged in local machine console, started ssms logging in 'sa', created new database 'test', created stored procedure in database 'procedure', created new user on sql server 'fr_user', gave execute permissions 'fr_user' stored procedure.  if right click on user, properties and @ 'securables' nothing shown, if right click on stored procedure, properties and @ 'permissions' user 'fr_user' shows having execute.

 



SQL Server  >  SQL Server Security



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........