Application team is facing intermittent connectivity issues to the database, they are facing below error, after multiple tries they are able to connect to the database.
Databases servers are configured with 3 node AlwaysON.
Application Servers are on Azure.
Could anyone help what could be the issue ?
Error:
System.Data.SqlClient.SqlException (0x80131904): 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): Access is denied