How can I connect to informix with DAAB. Is there any provider for Informix in EntLib 5.0?
private Database _dbInformix = new GenericDatabase("Provider=Ifxoledbc;Data Source=XXXX;User ID=XXXX;Password=XXXX;OLEDB Services=sqlexec; Connection Timeout=100;", OdbcFactory.Instance);
But when the connection was opened I got the error message
"ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"
So please help me with provider code (if any) for connecting to informix db or get me the syntax.
Thanks in advance
It seems like you're using the connection string for the IBM Informix .NET Provider. If you want to use the ODBC provider in .NET, the format is different. See this
Global Technology and Solutions