Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Jason got error -25596 (INFORMIXSERVER not listed in sqlhosts or the registry) from a C++ application over OLE DB, while a VB6 application on the same NT4 client connected fine to Informix 2000. Wolfgang Zager asked for details; Maria C. Lopez quoted the manual text for the error. Jason suspected the client, but the cause was not found. Unresolved.
Jason — — source: Informix-list mailing list archive (1991-1998)
"INFORMIXSERVER value not listed in the sqlhosts file or the
registry. -25596"
Hello,
Trying to connect (oledb) to a db via a certain application I get this
error -25596, yet using the same connect string from a different app on the
same PC to the same database works fine. The INFORMIXSERVER value *is*
listed in the registry.
Has anyone seen this error come up for some other reason?
Ideas?
Thanks
Jason.
↪ replying to Jason
Wolfgang Zager — — source: Informix-list mailing list archive (1991-1998)
which client-machine? what is the other application?
wolfgang
Jason schrieb:
>
> "INFORMIXSERVER value not listed in the sqlhosts file or the
> registry. -25596"
>
> Hello,
>
> Trying to connect (oledb) to a db via a certain application I get this
> error -25596, yet using the same connect string from a different app on the
> same PC to the same database works fine. The INFORMIXSERVER value *is*
> listed in the registry.
>
> Has anyone seen this error come up for some other reason?
>
> Ideas?
>
> Thanks
>
> Jason.
--
*******************************************************************************
* Any opinions written in this e-mail are my own. They may not
correspond to *
* those of my
company. *
*******************************************************************************
* Wolfgang Zager Berghauser Str.
104 *
* BAB Data-Systems GmbH D-42349
Wuppertal *
* Abt. Programmierung Tel. : +49 202
479870 *
* Fax : +49 202
470035 *
* E-Mail:
zager@gmx.de *
*******************************************************************************
↪ replying to Wolfgang Zager
Maria C. Lopez — — source: Informix-list mailing list archive (1991-1998)
Hello,
Here is information on the error from the manual "Informix Error Messages":
-25596 The INFORMIXSERVER value is not listed in the sqlhosts file or the Registry.
The default database server name that the INFORMIXSERVER environment
variable specifies must be a valid database server name in the file
$INFORMIXDIR/etc/sqlhosts on UNIX or the Registry on Windows. Check
that the specified server is listed in the sqlhosts file or the Registry.
Wolfgang Zager wrote:
> which client-machine? what is the other application?
>
> wolfgang
>
> Jason schrieb:
> >
> > "INFORMIXSERVER value not listed in the sqlhosts file or the
> > registry. -25596"
> >
> > Hello,
> >
> > Trying to connect (oledb) to a db via a certain application I get this
> > error -25596, yet using the same connect string from a different app on the
> > same PC to the same database works fine. The INFORMIXSERVER value *is*
> > listed in the registry.
> >
> > Has anyone seen this error come up for some other reason?
> >
> > Ideas?
> >
> > Thanks
> >
> > Jason.
>
> --
> *******************************************************************************
> * Any opinions written in this e-mail are my own. They may not
> correspond to *
> * those of my
> company. *
> *******************************************************************************
> * Wolfgang Zager Berghauser Str.
> 104 *
> * BAB Data-Systems GmbH D-42349
> Wuppertal *
> * Abt. Programmierung Tel. : +49 202
> 479870 *
> * Fax : +49 202
> 470035 *
> * E-Mail:
> zager@gmx.de *
> *******************************************************************************
↪ replying to Wolfgang Zager
Jason — — source: Informix-list mailing list archive (1991-1998)
The client machine is a NT4(SP6) server connecting to Informix2000 on NT.
Both applications developed with Visual Studio, the one that works using VB6
and the one that doesn't using C++. As I said, the INFORMIXSERVER is listed
correctly in the registry of the designated INFORMIXSQLHOSTS machine.
I suspect this problem is with the client since a similar client machine
doesn't show the same error when connecting. What I can't explain is why
the VB app works and the C++ app doesn't.
Thanks.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.