Odbc Connection ON Windows Server2003 64Bit
751482Feb 4 2010 — edited Feb 10 2010Hi,
I am having a Cpp application compiled for 32 target and create db connection ....
when i did that on 32 bit machine works fine, but in 64 bit failed to connect.
I am trying to run it on Windows Server2003 64Bit
I am creating odbc Connection. when i test odbc Connection on odbc administrator it works and test Connection successful.
but when trying from cpp code it throws error
19:30:19: SQL State = IM002 Native Error Code = 0 Error Message = [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
19:30:19: SQL State = 08003 Native Error Code = 0 Error Message = [Microsoft][ODBC Driver Manager] Connection not open
19:30:19: SQL State = 08003 Native Error Code = 0 Error Message = [Microsoft][ODBC Driver Manager] Connection not open
i create a dsn using C:\Windows\System32\odbcad32.exe
having oracle client installed for 32 bit.
if anyone is having any idea on ?
thanks & reagards
sanjay