Cannot connect "Server" in SSMS

Error:

Cannot connect "Server Name"

The target database is in an availability group and is currently accessible for connections when the application intent is set to ready only.

 

        While opening new query window in SSMS, i got this error.

Solution:

        In my case, my failover cluster  got changed to primary to secondary. It is working fine once have changed to secondary to primary.


Comments

  1. The information you shared was useful. Thank you for taking the time to organize it.

    ReplyDelete
  2. Thank you for your valuable feedback

    ReplyDelete

Post a Comment

Hi User,
Thanks for visiting My Blog and please provide your valuable feedback and subscribe for more updates. Please don't post any spam content or comments.
Thank You

Popular Posts

Failed to execute the package or element. Build errors were encountered

Exception deserializing the package "The process cannot access the file because it is being used by another process."

Temporary enable and disable SSRS subscriptions