Unable to add/configure DSN for odbc driver using SQLConfigDataSource(). I get this error [sqlodbcInstaller.cpp][383][ERROR] ODBC Installer error 1: General installer error [sqlodbcInstaller.cpp][384][ERROR] Failed to Configure DSN.
I am calling it like:
SQLConfigDataSource(NULL,ODBC_ADD_DSN, "ODBCDriver",
"DSN=ODBC Data Source\0"
"Description=New ODBC Data Source\0"
"SERVER=localhost\0");
Last edit: ameybarve15 2013-09-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unable to add/configure DSN for odbc driver using SQLConfigDataSource(). I get this error [sqlodbcInstaller.cpp][383][ERROR] ODBC Installer error 1: General installer error [sqlodbcInstaller.cpp][384][ERROR] Failed to Configure DSN.
I am calling it like:
SQLConfigDataSource(NULL,ODBC_ADD_DSN, "ODBCDriver",
"DSN=ODBC Data Source\0"
"Description=New ODBC Data Source\0"
"SERVER=localhost\0");
Last edit: ameybarve15 2013-09-10
Hi.
Assuming SQLInstallerError doesn't return anything informative, the most likely reason is one of:
The "SQLFire Network Client 1.0" entry in odbcinst.ini does not have a Setup lib entry.
The setup lib for "SQLFire Network Client 1.0" doesnt load for some libtool reason
The setup lib for "SQLFire Network Client 1.0" doesnt export ConfigDSN() or ConfigDSNW()