Dear Experts,
I have a 2 node Always ON AG setup.
Application works fine when the Node1 is primary.
Whenever I failover the AG to Node2,application errors out stating cannot connect to Read-only database, by which I assume that the application is still trying to connect to the previous primary node Node1.
Application connection string is using listener IP:port .
Failover and failback happens without issues.
Any guidance is highly appreciable.
Thanks
Javeed
Javeed Ahmed