.NET & Informix driver problem -
07-05-2007
, 12:04 PM
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(OdbcHa ndle hrHandle,
RetCode retcode)
at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcCo nnection connection,
OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
at
System.Data.Odbc.OdbcConnectionFactory.CreateConne ction(DbConnectionOptions
options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection
owningObject)
at
System.Data.ProviderBase.DbConnectionFactory.Creat eNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at
System.Data.ProviderBase.DbConnectionFactory.GetCo nnection(DbConnection
owningConnection)
at
System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(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 |