Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Report doesn't go to Alwayson secondary replica

$
0
0

Hi Gurus,

 I have setup 2 nodes Alwayson on SQL 2017. Read only routing is working fine but when I try to run report on read-only replica it only goes to primary server despite of using “ApplicationIntent=Readonly” parameter

Here is the detail of my setup

SQL Database version

  Microsoft SQL Server 2017 (RTM-CU11) (KB4462262) - 14.0.3038.14 (X64)  Sep 14 2018 13:53:44   Copyright (C) 2017 Microsoft Corporation Enterprise Edition (64-bit) on Windows Server 2016 Standard 10.0 <X64> (Build 14393: ) (Hypervisor)

Report server version

 Microsoft SQL Server 2014 - 12.0.4100.1 (X64)  Apr 20 2015 17:29:27   Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)

Providers on Report server

-ADsDSOObject

- MSDAOSP

- MSDASQL

- MSOLAP

-SQLNCLI11

- SQLOLEDB

Providers on Database server

-ADsDSOObject

- MSDAOSP

- MSDASQL

- Search.CollacterDSO

- MSOLAP

-SQLNCLI11

- SQLOLEDB

- SSISOLEDB

Connection string

Provider=SQLOLEDB.1;Data Source=test_listener;Initial Catalog=test_data; Application Intent=Readonly;

  This works but goes to primary server

Provider=SQLNCLI11.1;Data Source=test_listener;Initial Catalog=test_data; Application Intent=Readonly;

This return following error

"An Error has occurred during report processing. (rsProcessingAborted)

    Query execution failed for data set  'main'. (rsErrorExecutingComand)

       For more information about this error navigate to the report server on the local server machine, or enable remote errors" 

Please help me to resolve the issue

Thanks in Advance

QJ 



Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>