Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Cannot write to database after failover

$
0
0

Hi Guys,

I have alwaysOn on SQL server 2012. 1 primary and 2 secondary replicas. I have also setup the config below 

My problem now is ..when I failover from the primary server (EMR-SVR) to the secondary server in the same subnet (EMR-SVRII), the application is able to connect and to the database and view data. However, the application is not able to write to the database. I get an error that says the database is readOnly.

In the "Connections in Primary Role" tab, I have selected "allow all connections" Should I change this to "allow Read/write"? or is there something else I am missing. The database fails over but I am not able to write to it.

Thanks for all the help 

Richard


..forever is just a minute away*



Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>