cancel
Showing results for 
Search instead for 
Did you mean: 

SQL Anywhere 10 connection unable to connect using 64bit ODBC but 32bit ODBC success

Former Member
10,116

i have install SQL Anywhere 10, with 32bit enable into a windows server 2008 64bit. when i try to create a ODBC using c:\\windows\\syswow64\\odbcad32.exe to connect, it give me error "Found Server but communication error occured", but i try the same setting using c:\\windows\\system32\\odbcad32.exe, test connection successful.

anyone can help? below is the log file

Tue Mar 11 2014 13:04:14
13:04:14 Attempting to connect using:
UID=EPE;PWD=********;DBN=EPEWebTest;ENG=EPEWeb;ASTOP=YES;DSN=EPEWebLocal;INT=NO;DBG=YES;LOG=c:\\web.txt;DMRF=NO;LINKS='SharedMemory,TCPIP{}';COMP=NO
13:04:14 Attempting to connect to a running server...
13:04:14 Trying to start SharedMemory link ...

13:04:14     SharedMemory link started successfully

13:04:14 Attempting SharedMemory connection (no sasrv.ini cached address)

13:04:14 Failed to connect over SharedMemory

13:04:14 Trying to start TCPIP link ...

13:04:14 TCP using Winsock version 2.2
13:04:14 My IP address is 192.168.1.8
13:04:14 My IP address is 192.168.220.1
13:04:14 My IP address is 192.168.253.1
13:04:14 My IP address is 127.0.0.1
13:04:14     TCPIP link started successfully

13:04:14 Attempting TCPIP connection (no sasrv.ini cached address)

13:04:14 Looking for server with name epeweb
13:04:14 Sending broadcast to find server
13:04:14 Using broadcast address of: 192.168.1.255:2638
13:04:14 Sending broadcast to find server
13:04:14 Using broadcast address of: 192.168.220.255:2638
13:04:14 Sending broadcast to find server
13:04:14 Using broadcast address of: 192.168.253.255:2638
13:04:14 Sending broadcast to find server
13:04:14 Using broadcast address of: 127.255.255.255:2638
13:04:14 Found database server at address 192.168.1.8:5001
13:04:14 Found database server epeweb on TCPIP link
13:04:14 Connected using client address 192.168.1.8:63477
13:04:14 Connected to server over TCPIP at address 192.168.1.8:5001

13:04:14 Writing server address 192.168.1.8:5001 to sasrv.ini cache

13:04:14 Connected to SQL Anywhere Server version 10.0.1.3649
13:04:14 Application information:
13:04:14 IP=192.168.1.8;HOST=BI;OS='Windows NT 6.1 Build 7600 ';PID=0x1728;THREAD=0x4b4;EXE=C:\\Windows\\SysWOW64\\odbcad32.exe;VERSION=10.0.1.3649;API=ODBC;TIMEZONEADJUSTMENT=480
13:04:14 Connected to the server, attempting to connect to a running database...
13:06:15 Disconnecting Client - 120 seconds since last contact

13:06:15 Communication function i_cs_HandleSQLPresError code 5
13:06:15 Communication function StrmGetInd code 5
13:06:15 Client disconnected
13:06:15 Database is running, but could not connect to it

Accepted Solutions (0)

Answers (2)

Answers (2)

VolkerBarth
Contributor

The title seems to contradict the tests on a 64-bit system, as the working connection seems to be from the 64-bit ODBC:

  • c:\\windows\\syswow64\\odbcad32.exe is the 32-bit ODBC administrator
  • c:\\windows\\system32\\odbcad32.exe is the 64-bit ODBC administrator

(Blame Microsoft for the naming of these folders...)

Therefore I would think that the 32-bit SQL Anywhere setup may be incomplete...

Possibly these other questions may be of help:

Former Member
0 Kudos

Hi Volker Bath,

thank you for the reply. i have tried to uninstall and reinstall SQLA many many times with all the different option. i do check on the 32-bit checkbox when i doing installation. but still the same result. maybe you can help me to give me a more detail step for me to troubleshoot? thanks

VolkerBarth
Contributor
0 Kudos

Well, according to your client log you have been connected to the database server for a while (see 13:04:14 - 13:06:15), so I'm not sure whether this is an setup issue or not. So you are trying to connect locally from the machine the database server is running on (Not sure why shared memory would not work then)?


Note: 10.0.1.3649 is quite an old v10 EBF, AFAIK the latest released one is 10.0.1.4310, so you might give that a try...

0 Kudos

Good afternoon, tell me please! Where can I download sql anywhere build 10.0.1.4310 Thank!

chris_keating
Product and Topic Expert
Product and Topic Expert

You should post a new question rather than adding a comment to an old thread.