Click here to Skip to main content
15,887,585 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; HostName=abv.test.com;PortNumber=1039; ServerName=test9b; PRO=group;UID=ABC PWD=XYZ; AlternateServers=(HostName=abc.test.com;PortNumber=1039; ServerName=test9b;); LoadBalancing=1; NeedODBCTypesOnly=1; OLE DB Services = -4"
Posted
Updated 3-Jun-15 23:44pm
v2
Comments
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