.NET & Informix driver problem
On my dev box I can run a simple data query using the informix .NET driver.
I publish the single form app to a FS and run it's setup. On that test
workstation I already have the 2.9 SDK installed including the .NET driver.
After the install of the app it auto starts. I get an error in ODBC? I
thought that I was no longer on the ODBC level?
************** Exception Text **************
System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver
Manager] Data source name not found and no default driver specified
at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle,
RetCode retcode)
at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection,
OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
at
System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions
options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection
owningObject)
at
System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
owningConnection)
at
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory)
at System.Data.Odbc.OdbcConnection.Open()
at OurDAL.DataPortal.FillDataSet(String sqlStr, DataSet ds, String tn,
String AppName)
I give up how this should be setup? Can't a DSNLESS connection be achieved
in the Informix world?
Any ideas?
TIA
__Stephen
Date:Thu, 5 Jul 2007 09:04:01 -0700
Author:
|