[Mono-list] Mono does support "Failover Partner" ?!
josef.semmler at gmail.com
Wed Feb 1 13:26:26 UTC 2012
maybe i'm just to stupid:
Is it possible that mono really does not support "Failover Parnter" for
database connection strings?
I have the following code
static void Main(string args)
string connectionString =
"Data Source=server1;Failover Partner=server2;Initial
Catalog=testdb;Persist Security Info=True;User
using (SqlConnection connection = new SqlConnection
SqlCommand queryCommand = new SqlCommand("SELECT 1"
SqlDataReader queryCommandReader = queryCommand.
Using mono 2.6.7 i only get:
Unhandled Exception: System.ArgumentException: Keyword not supported :
at System.Data.SqlClient.SqlConnection.SetProperties (System.String name,
System.String value) [0x00000] in <filename unknown>:0
Same with mono 2.10.x
I also checked the code on githup ... and although the values seem to be
there - it seems as if the "SetProperties" method does not support this
Is there a workaround? Or does it really not work?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list