Orphaned Users for Mirroring setup

  • 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

  • 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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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