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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|