Comments on: HOW TO: Solve General SQL Server Connectivity Issues https://thomaslarock.com/2017/03/solve-general-sql-server-connectivity-issues/ Thomas LaRock is an author, speaker, data expert, and SQLRockstar. He helps people connect, learn, and share. Along the way he solves data problems, too. Sat, 26 Aug 2017 19:14:00 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: Louie Ortiz https://thomaslarock.com/2017/03/solve-general-sql-server-connectivity-issues/#comment-16105 Sat, 26 Aug 2017 19:14:00 +0000 https://thomaslarock.com/?p=17718#comment-16105 In reply to ThomasLaRock.

I have a witness. My networking team said there is nothing wrong with our network and the app and sql servers are right next to each other and plugged in into one switch. I have been getting this intermittent error very once in a while.

]]>
By: ThomasLaRock https://thomaslarock.com/2017/03/solve-general-sql-server-connectivity-issues/#comment-16104 Thu, 24 Aug 2017 14:17:00 +0000 https://thomaslarock.com/?p=17718#comment-16104 In reply to Louie Ortiz.

Sounds like a network issues between the app and the database. If the app tries to connect to the principal, but can’t, it could try to connect to the secondary. Are you using a witness server? Using a witness may help with this issue. For troubleshooting, I would look to monitor the network between the app and database servers, and I can recommend some great network tools for just that purpose.

]]>
By: Louie Ortiz https://thomaslarock.com/2017/03/solve-general-sql-server-connectivity-issues/#comment-16103 Thu, 24 Aug 2017 04:02:00 +0000 https://thomaslarock.com/?p=17718#comment-16103 I have mirrored configuration. Intermittently I get an error from the mirrored (secondary) server that the user cannot explicitly open database, this is because the mirror db has not failed over. My question is, why is the app cannot connect to the principal database? How can I find out what causing the connection error to the principal? Is there a way to find from principal if the connection has been refused? What is the best way to troubleshoot this issue?

]]>
By: ThomasLaRock https://thomaslarock.com/2017/03/solve-general-sql-server-connectivity-issues/#comment-15887 Mon, 06 Mar 2017 18:08:00 +0000 https://thomaslarock.com/?p=17718#comment-15887 In reply to Eric Selje.

This might be the bacon talking, but I love you both for leaving these comments.

]]>
By: Eric Selje https://thomaslarock.com/2017/03/solve-general-sql-server-connectivity-issues/#comment-15884 Mon, 06 Mar 2017 14:01:00 +0000 https://thomaslarock.com/?p=17718#comment-15884 In reply to Koen Verbeeck.

I thought the same thing, so I bookmarked it and sorted my bookmarks so now it’s not random.

]]>
By: Koen Verbeeck https://thomaslarock.com/2017/03/solve-general-sql-server-connectivity-issues/#comment-15883 Mon, 06 Mar 2017 09:07:00 +0000 https://thomaslarock.com/?p=17718#comment-15883 I’m conflicted. Should I follow the advice of this random blog post? 🙂

]]>
By: ThomasLaRock https://thomaslarock.com/2017/03/solve-general-sql-server-connectivity-issues/#comment-15878 Sat, 04 Mar 2017 16:24:00 +0000 https://thomaslarock.com/?p=17718#comment-15878 In reply to anil kumar.

Welcome!

]]>