Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Odbc Connection ON Windows Server2003 64Bit

751482Feb 4 2010 — edited Feb 10 2010
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 10 2010
Added on Feb 4 2010
2 comments
4,186 views