I have a client process which talks to a DB server using Entity Framework. The DB itself has active and passive clusters with always-on setup between them for replication.
Initially, the connection string was based on the listener. I am trying to have the client process talk directly to the passive cluster. In the connection string, I replaced the listener name with the name of the passive cluster.
After this change, the client process does not come up with an error message to the effect that it is not able to reach the DB.
Here is my connection string after changing it to point to passive cluster (Server=CH1BLBCMPDSQL
):
Provider=EntityFramework;Contract=ConfigService.DataLayer.KeyValueEntity;Table=Identity.KeyValue;Server=CH1BLBCMPDSQL;Database=Accounts;Username={0};Password={1}
What could be wrong?