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 ?