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 > Informix:ODBC Server xxx is not listed as a dbserver name in sqlhosts

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-29-06, 11:47
bobkot bobkot is offline
Registered User
 
Join Date: Jun 2006
Posts: 3
Informix:ODBC Server xxx is not listed as a dbserver name in sqlhosts

I keep getting the connection error:
Test connection was NOT successsful. [Informix][Informix ODBC Driver][Informix]Server ndevse_tcp is not listed as a dbserver name in sqlhosts

C:\Program Files\IBM\Informix\Client-SDK\etc\sqlhosts contains the line:
ndevse_tcp sesoctcp ndev sqlexec

On the unix box the line is EXACTLY the same, and
# dbaccess //ndevse_tcp/database
works just fine.

I am using IBM Informix SDK 2.90.TC4 on Windows XP SP2

I have checked in the registry all over for any reference to sqlhosts, and they all point to that file. This did work once or twice before, but now it completely won't!.

I have seen the odd reference to this on the net, with no conclusive responses as to what the problem it.

This problem occurs with any of the client connections I try and make, whether to Unix, Linux, Standard Engine or IDS7 or IDS10 .

Incidently, there is an issue with Setnet32 not being able to open the registry on my notebook, but although it says this, the values are still written to the registry.


Help!
Reply With Quote
  #2 (permalink)  
Old 11-17-09, 12:23
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Jundiai / SP - Brasil
Posts: 311
On Windows you need configure yours SQLHOSTS with setnet32 or manually on the register.
My suggest is use the setnet32, for simple test, they is easily
A file sqlhosts don't work on windows... only in register...
__________________
________________________________________
César Inacio Martins
Jundiai / SP - Brasil
http://www.imartins.com.br/informix - em Português
http://www.imartins.com.br/informix - English (translated by Google).
________________________________________
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