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

ERROR "An exception has been raised that is likely due to a transient failure. ..." when connecting to Always on Availability Group Listener with ApplicationIntent=ReadOnly

$
0
0

Application team is receiving the following error message when applications try to connect through the Availablity Group Listener using readonly parameter:

 "An exception has been raised that is likely due to a transient failure. If you are connecting to a SQL Azure database consider using SqlAzureExecutionStrategy."

 Already using latest .net framework. Using the Extended events I can trace the read_only_route_complete event as well. However, they get this message when trying to open the read only database.

If I try to simulate the connection to ReadOnly replica from management studio, it is working successfully. But not from the application:

Note:

-verified firewall is disabled. (this is development environment)

-SQL Server 2012 SP2 is installed.



Viewing all articles
Browse latest Browse all 4689

Trending Articles



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