Link to home
Start Free TrialLog in
Avatar of John Porter
John PorterFlag for United States of America

asked on

Cannot create ODBC connection over the network

I am using SQL Anywhere 7 and trying to create an ODBC connection from a client computer over the network to the Server running the SQL Anywhere Database.

I Cannot create an ODBC connection over the network (client to server) but same ODBC connection works fine locally on server.

SQL Anywhere server TCP/IP: Win7 32bit

IP:   192.168.1.201
SM:  255.255.255.0
DG:  192.168.1.1
DNS: 192.168.1.1

Client trying to access TCP/IP: Win 7 64 bit

IP:   192.168.1.200
SM:  255.255.255.0
DG:  192.168.1.1
DNS: 192.168.1.1

3. Windows firewall is turned off on both computers
4. I cannot telnet into the server SQL Anywhere port from the client like this:

telnet 192.168.1.201 2638

note (I CAN telnet into the server when telnet string shown above is called FROM the server computer)

5. ODBC to the SQL Anywhere DB works from the server computer but WILL NOT work  from the client computer to server computer. Note. I am using the 32 bit ODBC on the client since the server is a 32 bit installation.

Can anyone see what may be going on here?
ASKER CERTIFIED SOLUTION
Avatar of Britt Thompson
Britt Thompson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of John Porter

ASKER

Dang - that was a good idea...

AVG was installed on the server so I removed it. I also uninstalled Malwarebytes (the only other antivirus program)

1. Now there are NO antivirus programs running on the server (Also Windows firewall turned off)
2. The only computers on the network now are the SQLAnywhere Server  and one client (to connect via ODBX to SQLAnywhere server)
3. Other network communication between client and server (like ping network share mapping etc.) is good.
4. Still cannot telnet (telnet 192.168.1.201 2638) to the SQLAnywhere port on server from client over the network.
5. Telnet (telnet 192.168.1.201 2638) will open the SQLAnywhere port on server when run locally on the server.
6. I ran an ARP  -a from the client  and there are is only one entry for the mac address of the server and it is  the correct IP address

ODBC still does not work from over the network but still works locally on the server.

Am really stumped here...

Any other ideas?
It was Windows Firewall!