<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MSOLEDBSQL  - ApplicationIntent (Qlikview) in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/MSOLEDBSQL-ApplicationIntent-Qlikview/m-p/2503922#M14534</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;try to check that the connection string used in QlikView explicitly contains ApplicationIntent=ReadOnly along with the MultiSubnetFailover=True (if applicable). You can use the conn string:&lt;/P&gt;
&lt;P&gt;Provider=MSOLEDBSQL.1;Server=YourListenerName;Database=YourDB;ApplicationIntent=ReadOnly;Integrated Security=SSPI;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;then you can test the connection manually using PowerShell or another query tool:&lt;/P&gt;
&lt;P&gt;$connection = New-Object System.Data.OleDb.OleDbConnection&lt;BR /&gt;$connection.ConnectionString = "Provider=MSOLEDBSQL.1;Server=YourListenerName;Database=YourDB;ApplicationIntent=ReadOnly;Integrated Security=SSPI;"&lt;BR /&gt;$connection.Open()&lt;BR /&gt;Write-Output "Connection successful"&lt;BR /&gt;$connection.Close()&lt;/P&gt;
&lt;P&gt;If this works outside of QlikView but not inside QlikView, then the issue is likely with how QlikView handles this parameter.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2025 09:32:42 GMT</pubDate>
    <dc:creator>diegozecchini</dc:creator>
    <dc:date>2025-01-31T09:32:42Z</dc:date>
    <item>
      <title>MSOLEDBSQL  - ApplicationIntent (Qlikview)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/MSOLEDBSQL-ApplicationIntent-Qlikview/m-p/2502357#M14504</link>
      <description>&lt;P&gt;We have upgraded the OLEDB SQL driver on the QlikView Publisher. Now the new connections to the data source are connecting with MSOLEDBSQL.1&amp;nbsp; provider. This is all working fine but Application Intent parameter is not working. The source database is SQL server in Always On configuration. When the QlikView is connecting to the listener DB node it is not redirecting the request to the secondary nodes based on the&amp;nbsp; parameter ApplicationIntent=ReadOnly. The QlikView version is May 2024. Can anyone help with this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 08:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/MSOLEDBSQL-ApplicationIntent-Qlikview/m-p/2502357#M14504</guid>
      <dc:creator>viz301</dc:creator>
      <dc:date>2025-01-22T08:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: MSOLEDBSQL  - ApplicationIntent (Qlikview)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/MSOLEDBSQL-ApplicationIntent-Qlikview/m-p/2503918#M14533</link>
      <description>&lt;P&gt;Not an expert! However, from chat gpt and some googling:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1 - Modify the Connection String:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Update your QlikView connection string to include &lt;CODE&gt;Application Intent=ReadOnly&lt;/CODE&gt; with the appropriate spacing.&lt;/LI&gt;
&lt;LI&gt;Ensure that the provider is correctly specified as &lt;CODE&gt;MSOLEDBSQL.1&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;2 - Verify SQL Server Configuration:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Confirm that your Always On Availability Group is configured to route read-intent connections to the secondary replicas.&lt;/LI&gt;
&lt;LI&gt;Ensure that the secondary replicas are set to allow read-only connections and that the read-only routing list is properly configured.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;3 - Test the Connection:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;After making these changes, test the connection to verify that it directs to the secondary replica as intended.&lt;/LI&gt;
&lt;LI&gt;Monitor the connections to ensure that read-only queries are being routed correctly.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;By adjusting the connection string to use &lt;CODE&gt;Application Intent=ReadOnly&lt;/CODE&gt; and verifying your SQL Server settings, you should be able to direct QlikView's read-only workloads to the appropriate secondary replicas in your Always On configuration.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 09:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/MSOLEDBSQL-ApplicationIntent-Qlikview/m-p/2503918#M14533</guid>
      <dc:creator>brunoricardo</dc:creator>
      <dc:date>2025-01-31T09:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: MSOLEDBSQL  - ApplicationIntent (Qlikview)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/MSOLEDBSQL-ApplicationIntent-Qlikview/m-p/2503922#M14534</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;try to check that the connection string used in QlikView explicitly contains ApplicationIntent=ReadOnly along with the MultiSubnetFailover=True (if applicable). You can use the conn string:&lt;/P&gt;
&lt;P&gt;Provider=MSOLEDBSQL.1;Server=YourListenerName;Database=YourDB;ApplicationIntent=ReadOnly;Integrated Security=SSPI;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;then you can test the connection manually using PowerShell or another query tool:&lt;/P&gt;
&lt;P&gt;$connection = New-Object System.Data.OleDb.OleDbConnection&lt;BR /&gt;$connection.ConnectionString = "Provider=MSOLEDBSQL.1;Server=YourListenerName;Database=YourDB;ApplicationIntent=ReadOnly;Integrated Security=SSPI;"&lt;BR /&gt;$connection.Open()&lt;BR /&gt;Write-Output "Connection successful"&lt;BR /&gt;$connection.Close()&lt;/P&gt;
&lt;P&gt;If this works outside of QlikView but not inside QlikView, then the issue is likely with how QlikView handles this parameter.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 09:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/MSOLEDBSQL-ApplicationIntent-Qlikview/m-p/2503922#M14534</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2025-01-31T09:32:42Z</dc:date>
    </item>
  </channel>
</rss>

