freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Osman Çinar Eren <Cinar.Eren AT isbank.com.tr>
- To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
- Subject: RE: newbie
- Date: Wed, 9 Oct 2002 15:47:08 +0300
Hi,
i am on my way to use free-tds.
i selected odbc as the api.
The following call always returns an error immediately, although
freetds.conf has TESTC entry and the env variable,FREETDSCONF is set:
res=SQLConnect(Connection,"TESTC",SQL_NTS,"cinar",SQL_NTS,"cinar",SQL_NTS);
if (res!=SQL_SUCCESS)
{
printf("Unable to open data source (ret=%d)\n",res);
CheckReturn();
exit(1);
}
the error is:
Unable to open data source (ret=-1)
SQL error IM002 -- [unixODBC][Driver Manager]Data source name not found, and
no default driver specified
what do i miss?
thanks in advance.
best regards.
-
newbie,
cinar . eren, 10/08/2002
- <Possible follow-up(s)>
- RE: newbie, Osman Çınar Eren, 10/08/2002
- RE: newbie, Shanmugham, Abilash (London), 10/08/2002
- RE: newbie, Osman Çinar Eren, 10/08/2002
- RE: newbie, Shanmugham, Abilash (London), 10/08/2002
- RE: newbie, Lowden, James K, 10/08/2002
- RE: newbie, Osman Çinar Eren, 10/09/2002
- RE: newbie, Castellano, Nicholas, 10/09/2002
- RE: newbie, Osman Çinar Eren, 10/09/2002
- RE: newbie, Lowden, James K, 10/09/2002
- RE: newbie, Osman Çinar Eren, 10/10/2002
- RE: newbie, Shanmugham, Abilash (London), 10/10/2002
- RE: newbie, Osman Çinar Eren, 10/10/2002
- RE: newbie, Shanmugham, Abilash (London), 10/10/2002
- RE: newbie, Osman Çinar Eren, 10/10/2002
- RE: newbie, Castellano, Nicholas, 10/10/2002
- RE: newbie, Osman Çinar Eren, 10/10/2002
Archive powered by MHonArc 2.6.24.