Hi,
I have a test project as part of the build pipelines which connects to the SQL Server which is in private network and can be accessed only through vpn. When I try to run the test, I get the below error:
System.Data.SqlClient.SqlException : 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: 40 - Could not open a connection to SQL Server)
Can someone please help me resolve the above error?
Thanks,
Rommel Fernandes