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

Connection AlwaysOnListener with ReadOnly

$
0
0

Hello,

There is connection failed error while connecting AlwaysOnListener with ReadOnly. But connecting to secondary server is possible 

like server2name.domain.xx, it is possible to connect to listener without read only like listenername.domain.xx (direct primary server),  but when I record 'istenername.domain.xx,Application intent=ReadOnly' in the connection string raise the following error:

Failure: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No such host is known.)

I want to note  that it is possible to connect like 'istenername.domain.xx,Application intent=ReadOnly' from hostname which it is domain server, but this server which to connect is problem, it is not domain server.

Can anyone give a solution or experienced the same problem?
Thanks in advance and best regards


Viewing all articles
Browse latest Browse all 4532

Trending Articles