October 22, 2011 at 4:15 am
Hi,
Database user to become Orphaned User by automatically, whenever mirror database to change the Principal database.
Please suggestion me, how to resolve this issues?
Thanks
ananda
October 22, 2011 at 5:01 am
When you create the logins on the mirror server, create them with the same SID as on the principal.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
October 22, 2011 at 8:12 am
ananda.murugesan (10/22/2011)
Hi,Database user to become Orphaned User by automatically, whenever mirror database to change the Principal database.
Please suggestion me, how to resolve this issues?
Thanks
ananda
you can either script the logins from the principal yourself and apply them to the mirror or you could use SSIS to transfer them for you. Either way, as Gail has pointed out the login SIDs must match between the principal and mirror servers.
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply