Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

QV not going to Secondary Node of SQL Server Availability Group.

disclaimer: If this is in the wrong place please feel free to relocate.....

Greetings. For the record I'm not a Qlikview guy at all. I'm a DBA that desperately want to get QV away from my primary server as much as I possibly can.

We're using SQL Server 2012 with an Availability Group (one Secondary). The goal is to make more use of the Secondary wherever possible, like this.

We have:

  1. Installed SQL Server Native Client 11.0 driver on the QV server.
  2. Created a new ODBC connection to the Primary node of the AG, but set the Application Intent to READONLY.
  3. Created a new QV report to use the new ODBC connection.

Unfortunately, the report still hits the Primary node of the AG. I've got other stuff (SSRS, Access) successfully doing the same thing, so I know that the settings within SQL Server itself are fine. However, neither of those use true ODBC connections like QV does, so it's not exactly apples to apples.

I also found this issue, and have attempted the workaround, to no avail.

Any ideas?

Thanks!

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

This is resolved -- The issue was that the default DB MUST be set to a DB in the AG in order for this to work as expected.

View solution in original post

1 Reply
Anonymous
Not applicable
Author

This is resolved -- The issue was that the default DB MUST be set to a DB in the AG in order for this to work as expected.