If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Genral Error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-03-04, 09:26
parth parth is offline
Registered User
 
Join Date: Sep 2004
Posts: 11
Genral Error

I am trying to connect a code written using otl and c. Any one knows which connection string I should be using? The odbc .ini(/bb/bin/informix/ifmx7.3/etc/odbc.ini )
file says this for my dbase .

[eqdervdb]
Driver=/bb/bin/informix/ifmx7.3/lib/cli/iclis09b.so
Description=INFORMIX 3.3 32-BIT
Database=eqdervdb
Servername=dsa7dgintel1s

I am on sundev2.


if I use the whole thing as connection string (seperated by commas) , I get

[Informix][Informix ODBC Driver]General error

If I use Dsn=eqdervdb as the connection string, i get

[Informix][Informix ODBC Driver]Data source name not found and no default driver specified.

I tried adding Hostname=dgintel1, but that doesnt help either. And the db doesnt have user name and passwd.

I guess its either a problem with the config or the connection string, and not a library specific problem. Have you had this problem before?

Also, do you know where do these libraries (usually) look for config files?


I'll really appriciate any help from your side , Thanks folks,
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On