我有一个连接到SQLServer的VB.NET应用程序。当然,我们的SQLServer失败了,但VB.NET应用程序没有故障转移。我发现在我们的代码中,没有在连接字符串中指定故障转移伙伴,所以我按如下方式更新了连接字符串:
sConnectionString = "Data Source=PROD-SQL;Failover PartnerVerify that the instance n
System.Data.SqlClient.SqlException: A transport-level error has
occurred when sending the request to the server我认为有了在连接字符串中指定的故障转移伙伴,ADO.NET将为我完成这项工作。那么我现在该怎么做呢?