Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed vb6

I had this application source and I moved from w7 32 to w7 64. Code is in vb6. It was working well on 32 bit machine, but now get this error. [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed But strange thing is if I compile on 64 bit then .exe runs and connects to oracle with no problem. But if I try to debug it - it gives me error. I found odbc driver for 64bit but could not download it. Can someone give idea what to do? Odbc source is correct in C:\Windows\SysWOW64\odbcad32.exe

like image 482
user1164545 Avatar asked Oct 02 '22 19:10

user1164545


1 Answers

Try setting the ODBC up (on the 64bit pc)for 32 bit too. the one that you get too via: >contol panel >administrative tools >Data sources (ODBC) see if that works.

like image 75
Lee Chetwynd Avatar answered Oct 13 '22 12:10

Lee Chetwynd