ODBC configuration problem
Posted in 2000
Topics: Connectivity: ODBC / JDBC / .NET
Hello, I am unable to configure client running on one machine to connect to Informix Dynamic 2000 server running on another machine in WinNT. I am using Informix ODBC driver 3.31.00 for Win NT. When the client and server are on the same machine, everything works fine. But when client and server are on 2 different machines, and then if I try to configure and test ODBC connection it gives an error that " xyz service/tcp not found in /etc/services. Any solution to this problem. Manish Reply to mjain@impetus.co.in
Add informix server's tcp port number to your client machine's c:\\winnt\\system32\\drivers\\etc\\services file ex> sqlexec 2002/tcp #Informix "Manish Jain" <mjain@impetus.co.in> wrote in message news:86csbn$2ss$2@news.vsnl.net.in... > Hello, > > I am unable to configure client running on one machine to connect to > Informix Dynamic 2000 server running on another machine in WinNT. > I am using Informix ODBC driver 3.31.00 for Win NT. > When the client and server are on the same machine, everything works fine. > But when client and server are on 2 different machines, > and then if I try to configure and test ODBC connection it gives an error > that " xyz service/tcp not found in /etc/services. > > > Any solution to this problem. > > Manish > > Reply to mjain@impetus.co.in > > > > > > >
You should add a line of text in services file file://winnt/system32/drivers/etc/services For example you define the services as : test_service Open services file with notepad and add test_service 1526/tcp save the file. So when you configure ODBC, ... put service name as test_service. Don't forget to define your Server IP Address alias in hosts file. file://winnt/system32/drivers/etc/hosts regards HerSam ----- Original Message ----- From: Manish Jain <mjain@impetus.co.in> Newsgroups: comp.databases.informix Sent: Saturday, January 22, 2000 2:56 PM Subject: ODBC configuration problem > Hello, > > I am unable to configure client running on one machine to connect to > Informix Dynamic 2000 server running on another machine in WinNT. > I am using Informix ODBC driver 3.31.00 for Win NT. > When the client and server are on the same machine, everything works fine. > But when client and server are on 2 different machines, > and then if I try to configure and test ODBC connection it gives an error > that " xyz service/tcp not found in /etc/services. > > > Any solution to this problem. > > Manish > > Reply to mjain@impetus.co.in > > > > > > > Manish Jain <mjain@impetus.co.in> wrote in message news:86csbn$2ss$2@news.vsnl.net.in... > Hello, > > I am unable to configure client running on one machine to connect to > Informix Dynamic 2000 server running on another machine in WinNT. > I am using Informix ODBC driver 3.31.00 for Win NT. > When the client and server are on the same machine, everything works fine. > But when client and server are on 2 different machines, > and then if I try to configure and test ODBC connection it gives an error > that " xyz service/tcp not found in /etc/services. > > > Any solution to this problem. > > Manish > > Reply to mjain@impetus.co.in > > > > > > >