SQL Native Client 2005 connect to Database Mirroring


 

hi all,

 

i have small problem connect sql native odbc client mirrored database.

the connection goes without problem when connect primary database, when give connect string an

odbc client ""server=partner_a; failover partner=partner_b; database=xxx; network=dbmssocn"", connect fail.

there no firewalls , other things on network.

i able connect mirror database during failover, i'm not able set both servers on odbc connection.

 

kind regards,

gruna

 

 

hi,

before connecting secondary need failover mirroring, mirrored database become online.

or

have moved logins principal server mirror server same sid. if not need move existing logins (or particular login used connection) in primary secondary server, can use ssis package same or can use sp_helrevlogin proc.

or

if logins exists in secondary server different sid, in case need fix orphan id's in database, can check link how fix orphaned sql server users for same.


SQL Server  >  Database Mirroring



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........