question

fapel avatar image
fapel asked

Connect to read-only replica from SSMS

I am attempting to connect to an availability group read-only replica through SSMS (version 2016 and 2017). I connect using the listener and add "ApplicationIntent=ReadOnly" to the "Additional Connection Parameters". I've tried this on several servers but I always end up connected to the primary and not the readable secondary. I've tried this with the Readable Secondary set to "Yes' and set to "Read-intent only". I always still end up connected to the primary. Thoughts?
ssmsconnection
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
JohnM avatar image
JohnM answered
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Setting up read-only routing was indeed the piece I was missing. Thanks for the link!!
0 Likes 0 ·
Very welcome! If that helped solve your issue, please make sure to mark it as the answer so that others know your question was solved. Thanks!
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.