SQLSetConnectAttr error : Microsoft ODBC for Oracle, and Oracle 9i client on XP [message #99667] |
Tue, 12 February 2002 16:47 |
Joe Springer
Messages: 1 Registered: February 2002
|
Junior Member |
|
|
Had a major problem, but solved it, so am posting here so that someone may benefit.
Attempting to create an ODBC DSN using Microsoft ODBC for Oracle (MSORCL32.DLL of 8/23/2001) on Windows XP (which comes with MDAC 2.7), get the following error:
"Driver's SQLSetConnectAttr failed"
Problem is that the ODBC settings expect Oracle 8.0 to be used by default. So change the registry to look for Oracle 9 DLLs and DSN creation succeeds.
Need to change 2 registry entries, see HKLMSoftwareMicrosoftMSDTCMTxOCI
and change OracleXaLib from oraclient8.dll to oraclient9.dll and change OracleSqlLib from orasql8.dll to orasql9.dll (note: if OracleOciLib is oci.dll do not change it).
(As a reference see outdated Microsoft article Q264012).
|
|
|
|
|
|
|
|
|
|
|
|
(Urgent)****Re: SQLSetConnectAttr error : Microsoft ODBC for Oracle, and Oracle 9i client on XP [message #109510 is a reply to message #99667] |
Fri, 25 February 2005 02:38 |
atthu
Messages: 2 Registered: February 2005 Location: Chennai
|
Junior Member |
|
|
Hi All,
I face the same problem. I get the "Driver's SQLSetConnectAttr failed". I changed the entries as suggested by Joe.....the earlier entries were
OracleXaLib - xa80.dll
OracleSqlLib - SQLLib80.dll
I changed both to oraclient8.dll and orasql8.dll respectively. But it didn't work.
I use the personal edition of Oracle 8. If the ODBC looks for Oracle 8 by default, I wonder why I get the error then.
Any ideas??? Please advise.
Thanks,
Atthu
|
|
|
|
Re: SQLSetConnectAttr error : Microsoft ODBC for Oracle, and Oracle 9i client on XP [message #117887 is a reply to message #99667] |
Sat, 30 April 2005 13:33 |
MaryJC
Messages: 2 Registered: April 2005
|
Junior Member |
|
|
After changing the registry entries, I get this in the system log:
Application popup: Microsoft ODBC for Oracle : The Oracle(tm) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client software installation.
You will be unable to use this driver until these components have been installed.
|
|
|
|
|
Re: SQLSetConnectAttr error : Microsoft ODBC for Oracle, and Oracle 9i client on XP [message #385876 is a reply to message #322437] |
Wed, 11 February 2009 11:43 |
techguy90
Messages: 2 Registered: February 2009 Location: Dallas
|
Junior Member |
|
|
I too, tried this today - Feb 11,2009 - but with no results.
I did not yet try rebooting.
But I also had the settings of
"OracleXaLib was value data=xa73.dll" and
"OracleSqlLib was value data=SQLLib18.dll"
------
yeah, rebooted, reattempted - no luck.
I'm also getting an ORA TNS 12535 timeout error with mine, so it could also be attributed to the way I'm going through my company's proxy server I'm thinking, or the way they set their DNS lookups.
[Updated on: Wed, 11 February 2009 12:01] Report message to a moderator
|
|
|
|
|
|