Click here to Skip to main content
15,664,823 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Please give syntax for adding 'alternate Servers' to the Informix DB connection string in web.config

I have tried the below connection string. But it fails

connectionstring="provider=msdasql; Driver={ INFORMIX 64-BIT}; DB=MSN;;PortNumber=1039; ServerName=test9b; PRO=group;UID=ABC PWD=XYZ; AlternateServers=(;PortNumber=1039; ServerName=test9b;); LoadBalancing=1; NeedODBCTypesOnly=1; OLE DB Services = -4"
Updated 3-Jun-15 23:44pm
ZurdoDev 4-Jun-15 9:21am    
I don't know informix but are you sure this goes in the connection string? With MS Sql the client doesn't care if it is load balancing so the connection string does not change. Load balancing with MS Sql is all configured server side.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900