user1164545
user1164545

Reputation: 139

[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

Upvotes: 5

Views: 31648

Answers (1)

user2240058
user2240058

Reputation:

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.

Upvotes: 4

Related Questions