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!

Re: 32 Bit ODBC Driver for Oracle 11g 11.2.0.1.0

1050450Oct 25 2013 — edited Oct 31 2013

Hi,

Were you able to resolve the problem with these troubleshooting measures ?

Please let me know since i am facing similar issues like yours.

I am using a Windows 7 64 bit and from QTP installed on this machine ,  i am trying to connect to Oracle database.

Now initially i installed a 64 bit ODBC for Oracle . But when i did that and ran the Script below :

Set objDatabase = CreateObject("ADODB.Connection")

Set rs=createobject("adodb.recordset")

objDatabase.open "DRIVER={Oracle in OraClient11g_home1} ; DATA SOURCE=Oracle; SERVER= xyz ; DATABASE=abc1; UID=abc ; PASSWORD= abc123;"       

rs.Open "select * from tablename", objDatabase

'result1 = objDatabase.Execute("select * from tablename")

'msgbox result1

Do while not rs.eof

print rs.fields("columnname")

rs.movenext

Loop

print rs.fields("columnname")

it gives me an error

“[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application”

So i am assuming that i need to install the 32 bit ODBC drivers for Oracle as well in addition to the already installed 64 bit drivers ..

Any thoughts on this ?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2013
Added on Oct 25 2013
1 comment
5,396 views