Oracle 9i ODBC - credential retrieval error

I am unable to get past opening a connection through ODBC (or
OLE/DB) into Oracle 9i. My code works fine with Oracle 8i and
fails with 9i at the ADO open connection point. Needless to say
I'm happy with the network setup etc in every other way in that
I can get into the database with SQL*Plus and indeed JDBC!
Heres a trace of the error:
--- TRACE CONFIGURATION INFORMATION FOLLOWS ---
New trace stream is D:\Database\Oracle\Ora90
\network\trace\svr_1356.trc
New trace level is 6
--- TRACE CONFIGURATION INFORMATION ENDS ---
--- PARAMETER SOURCE INFORMATION FOLLOWS ---
Attempted load of system pfile source D:\Database\Oracle\Ora90
\network\admin\sqlnet.ora
Parameter source loaded successfully
-> PARAMETER TABLE LOAD RESULTS FOLLOW <-
Successful parameter table load
-> PARAMETER TABLE HAS THE FOLLOWING CONTENTS <-
TRACE_LEVEL_SERVER = ADMIN
TRACE_LEVEL_CLIENT = ADMIN
NAMES.DIRECTORY_PATH = (TNSNAMES)
SQLNET.AUTHENTICATION_SERVICES = (NTS)
NAMES.DEFAULT_DOMAIN = ilkley.cre8tiv.com
--- PARAMETER SOURCE INFORMATION ENDS ---
--- LOG CONFIGURATION INFORMATION FOLLOWS ---
Log stream will be "D:\Database\Oracle\Ora90
\network\log\sqlnet.log"
Log stream validation not requested
--- LOG CONFIGURATION INFORMATION ENDS ---
nigini: entry
nigini: Count in NI global area now: 1
nigini: Count in NI global area now: 1
nrigbi: entry
nrigbni: entry
nrigbni: Unable to get data from navigation file tnsnav.ora
nrigbni: exit
nrigbi: exit
nigini: exit
niqname: Hst is already an NVstring.
niotns: entry
niotns: Not enabling dead connection detection.
niotns: listener bequeathed shadow coming to life...
nlpcaini: entry
nlpcaini: No process parameters set
nlpcaini: exit
nsinherit: connecting...
ntpcon: entry
ntpcon: toc = 6
ntpcon: exit
ntpcon: entry
ntpcon: toc = 4
sntpinherit: entry
sntpinherit: Attempting to make pipe \\.\PIPE\ORANTP45C.54C
sntpinherit: Listening on pipe \\.\PIPE\ORANTP45C.54C
sntpinherit: Successfully established pipe 716 to parent
sntpinherit: exit
ntpcon: NT layer IPC connection has been established
ntpcon: exit
nsinherit: doing connect handshake...
ntprd: entry
ntprd: exit
ntprd: entry
ntprd: exit
nsinherit: ADR="(ADDRESS=(PROTOCOL=tcp)(DEV=284)(HOST=10.0.1.71)
(PORT=1521))"
ntprd: entry
ntprd: exit
nsinherit: bufl=1025
nsmal: 476 bytes at 0xcd1fa54
nsmal: 2312 bytes at 0xcd21e70
nsopen: opening transport...
nttcon: entry
nttcon: toc = 6
nttcnp: entry
ntvlin: entry
ntvllt: entry
ntvllt: tcp.validnode_checking not turned on
ntvllt: exit
ntvlin: exit
nttcnp: Validnode Table IN use; err 0x0
nttcnp: exit
nttcon: exit
nsopen: transport is open
nsoptions: lcl[0]=0x0, lcl[1]=0x0, gbl[0]=0x0, gbl[1]=0x0,
cha=0x0
nsoptions: lcl[0]=0x7fefff, lcl[1]=0x0, gbl[0]=0x7e3f, gbl[1]=0x0
nsopen: lcl[0]=0x7fefff, lcl[1]=0x0, gbl[0]=0x7e3f, gbl[1]=0x0,
tdu=32767, sdu=2048
nsmfr: 2312 bytes at 0xcd21e70
nsmfr: 476 bytes at 0xcd1fa54
nttbnd2addr: entry
nttgetport: entry
nttgetport: port resolved to 1521
nttgetport: exit
nttbnd2addr: using host IP address: 10.0.1.71
nttbnd2addr: exit
nsmal: 476 bytes at 0xcd1fa54
nsmal: 2312 bytes at 0xcd21e70
nsopen: opening transport...
nttcon: entry
nttcon: toc = 2
nttcnp: entry
ntvlin: entry
ntvlin: exit
nttcnp: Validnode Table IN use; err 0x0
nttcnp: getting sockname
nttcnp: exit
nttcon: exit
nsopen: transport is open
nsoptions: lcl[0]=0x0, lcl[1]=0x0, gbl[0]=0x0, gbl[1]=0x0,
cha=0x0
nsoptions: lcl[0]=0x7fefff, lcl[1]=0x0, gbl[0]=0x7e3f, gbl[1]=0x0
nsopen: global context check-in (to slot 0) complete
nsopen: lcl[0]=0x7fefff, lcl[1]=0x0, gbl[0]=0x7e3f, gbl[1]=0x0,
tdu=32767, sdu=2048
nsdo: cid=0, opcode=65, bl=0, what=0, uflgs=0x0, cflgs=0x2
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=7, flg=0x4202, mvd=0
nsmal: 44 bytes at 0xcd23598
nsdo: nsctxrnk=0
nttaddr2bnd: entry
nttaddr2bnd: exit
nsinherit: hoff=12587
nsinherit: REDIR="(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.71)
(PORT=2519))"
ntpwr: entry
ntpwr: exit
ntpwr: entry
ntpwr: exit
ntpdisc: entry
ntpdisc: exit
nsmal: 476 bytes at 0xcd1f440
nsmal: 2312 bytes at 0xcd245e4
nsopen: opening transport...
nttcon: entry
nttcon: toc = 3
nttcnp: entry
ntvlin: entry
ntvlin: exit
nttcnp: Validnode Table IN use; err 0x0
nttcnp: getting sockname
nttcnp: exit
nttcnr: entry
nttcnr: waiting to accept a connection.
nttcnr: getting sockname
nttvlser: entry
nttvlser: valid node check on incoming node 10.0.1.71
nttvlser: Accepted Entry: 10.0.1.71
nttcnr: exit
nttcon: set TCP_NODELAY on 716
nttcon: exit
nsopen: transport is open
nsnainit: answer
nainit: entry
nagblini: entry
nau_gin: entry
nau_gparams: entry
nam_gbp: Reading parameter "sqlnet.authentication_required" from
parameter file
nam_gbp: Parameter not found
nau_gparams: Using default value "FALSE"
nau_gslf: entry
nam_gic: entry
nam_gic: Counting # of items in "sqlnet.authentication_services"
parameter
nam_gic: Found 1 items
nam_gic: exit
nam_gnsp: Reading parameter "sqlnet.authentication_services"
from parameter file
nam_gnsp: Found value "NTS"
nauss_set_state: entry
nauss_set_state: exit
nau_gslf: exit
nau_gparams: exit
nau_gin: exit
nagblini: exit
na_saveprot: entry
na_saveprot: exit
nacomin: entry
nas_init: entry
nas_init: exit
nau_ini: entry
naugcp_get_connect_parameters: entry
nauss_set_state: entry
nauss_set_state: exit
naugcp_get_connect_parameters: exit
nau_gettab: entry
nau_tadv: entry
nau_fad: entry
nau_fad: exit
nau_fad: entry
nau_fad: exit
nau_fad: entry
nau_fad: exit
nau_fad: entry
nau_fad: exit
nau_tadv: exit
nau_gettab: exit
nau_sini: entry
nau_sini: exit
nau_ini: exit
naeeinit: entry
nam_gbp: Reading parameter "SQLNET.FIPS_140" from parameter file
nam_gbp: Parameter not found
nam_gnsp: Reading parameter "SQLNET.ENCRYPTION_SERVER" from
parameter file
nam_gnsp: Parameter not found
naequad: Using default value "ACCEPTED"
nam_gic: entry
nam_gic: Counting # of items in "SQLNET.ENCRYPTION_TYPES_SERVER"
parameter
nam_gic: Parameter not found
nam_gic: exit
naesno: Using default value "all available algorithms"
naeshow: entry
naeshow: exit
naeeinit: exit
naecinit: entry
nam_gnsp: Reading parameter "SQLNET.CRYPTO_CHECKSUM_SERVER" from
parameter file
nam_gnsp: Parameter not found
naequad: Using default value "ACCEPTED"
nam_gic: entry
nam_gic: Counting # of items
in "SQLNET.CRYPTO_CHECKSUM_TYPES_SERVER" parameter
nam_gic: Parameter not found
nam_gic: exit
naesno: Using default value "all available algorithms"
naeshow: entry
naeshow: exit
naecinit: exit
nainit: exit
nagetctxinfo: entry
nagetctxinfo: exit
nsnainit: NS Connection version: 311
nsnainit: inf->nsinfflg[0]: 0x61 inf->nsinfflg[1]: 0x61
nsnainit: "or" info flags: 0x61     Translations follow:
     native service(s) is (are) wanted
nsnainit: "or" info flags: 0x61     Translations follow:
     native service(s) is (are) wanted
"and" info flags: 0x61     Translations follow:
     native service(s) is (are) wanted
nsopen: global context check-in (to slot 1) complete
nsopen: lcl[0]=0x7fefff, lcl[1]=0x0, gbl[0]=0x7e3f, gbl[1]=0x0,
tdu=32767, sdu=2048
nsdo: cid=1, opcode=65, bl=0, what=0, uflgs=0x0, cflgs=0x2
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=7, flg=0x4200, mvd=0
nsmal: 44 bytes at 0xcd1f980
nsmal: 44 bytes at 0xcd269a0
nsdo: nsctxrnk=0
nsdo: cid=1, opcode=68, bl=2048, what=8, uflgs=0x0, cflgs=0x3
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=14, flg=0x4204, mvd=0
nsdo: gtn=0, gtc=0, ptn=10, ptc=2019
nscon: doing connect handshake...
nscon: recving a packet
nsmal: 44 bytes at 0xcd27204
nsprecv: reading from transport...
nttrd: entry
nttrd: socket 716 had bytes read=300
nttrd: exit
nsprecv: 300 bytes from transport
nsprecv: tlen=300, plen=58, type=1
nsprecv: 242 bytes to leftover
nscon: got NSPTCN packet
nsconneg: vsn=311, lov=300, opt=0x0, sdu=2048, tdu=32767,
ntc=0x860e
nsconneg: vsn=311, gbl=0x0, sdu=2048, tdu=32767
nscon: recving connect data
nsdo: cid=1, opcode=68, bl=232, what=1, uflgs=0x4001, cflgs=0x0
nsdo: nsctx: state=2, flg=0x4204, mvd=0
nsdo: gtn=58, gtc=58, ptn=10, ptc=2019
nsrdr: recving a packet
nsprecv: 242 bytes from leftover
nsprecv: tlen=242, plen=242, type=6
nsrdr: got NSPTDA packet
nsrdr: NSPTDA flags: 0x0
nsdo: what=1, bl=232
nsdo: 232 bytes from NS buffer
nscon: got 232 bytes connect data
nsdo: nsctxrnk=0
nstimarmed: no timer allocated
nsdo: cid=0, opcode=98, bl=0, what=0, uflgs=0x40, cflgs=0x2
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=7, flg=0x4202, mvd=0
nsdo: nsctxrnk=0
nsclose: closing transport
nttdisc: entry
nttdisc: Closed socket 1124
nttdisc: exit
nsclose: global context check-out (from slot 0) complete
nsmfr: 2312 bytes at 0xcd21e70
nsmfr: 476 bytes at 0xcd1fa54
nsinherit: connected
nsdo: cid=1, opcode=67, bl=0, what=9, uflgs=0x0, cflgs=0x3
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=2, flg=0x4204, mvd=0
nsdo: gtn=242, gtc=242, ptn=10, ptc=2019
nscon: sending NSPTAC packet
nspsend: plen=32, type=2
nttwr: entry
nttwr: socket 716 had bytes written=32
nttwr: exit
nspsend: 32 bytes to transport
nscon: doing connect handshake...
nscon: nsctxinf[0]=0x61, [1]=0x61
nsconbrok: asking transport to enable NTOBROKEN
nttctl: entry
nsdo: nsctxrnk=0
nagetctxinfo: entry
nagetctxinfo: exit
nsnainconn: inf->nsinfflg[0]: 0x61 inf->nsinfflg[1]: 0x61
nsnainconn: "or" info flags: 0x61     Translations follow:
     native service(s) is (are) wanted
nsnainconn: "or" info flags: 0x61     Translations follow:
     native service(s) is (are) wanted
"and" info flags: 0x61     Translations follow:
     native service(s) is (are) wanted
naconnect: entry
snauiinit: entry
na_info: entry
nas_version: entry
nas_version: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
nau_info: entry
nau_info: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
na_info: exit
snauiinit: exit
na_server: entry
snauicomparehash: entry
nacomrc: entry
nsnareceive: buffer address: 0xcc7a124 bytes wanted: 2048
nsnareceive: calling NS to receive 2048 bytes into address
0xcc7a124
nsdo: cid=1, opcode=68, bl=2048, what=0, uflgs=0x0, cflgs=0x3
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=8, flg=0x2420c, mvd=0
nsdo: gtn=242, gtc=242, ptn=10, ptc=2019
nsrdr: recving a packet
nsprecv: reading from transport...
nttrd: entry
nttrd: socket 716 had bytes read=165
nttrd: exit
nsprecv: 165 bytes from transport
nsprecv: tlen=165, plen=165, type=6
nsrdr: got NSPTDA packet
nsrdr: NSPTDA flags: 0x0
nsdo: what=1, bl=2048
nsdo: 155 bytes from NS buffer
nsdo: nsctxrnk=0
nsnareceive: received 155 bytes
nsnareceive: no more data to receive - returning
nsnareceive: total bytes received: 155
nacomus: entry
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomus: exit
nacomus: entry
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomus: exit
nacomus: entry
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomus: exit
nacomus: entry
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomus: exit
nacomrc: exit
snauicomparehash: exit
na_csrd: entry
nas_scn: entry
nacomrp: entry
nacomrp: exit
nacomrp: entry
nacomrp: exit
nas_sval: entry
nacomra: entry
nacomrp: entry
nacomrp: exit
nacomra: exit
nas_svsl: entry
nas_svsl: exit
nas_svsl: entry
nas_svsl: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
nacomsa: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsa: exit
nas_sval: exit
nas_gusl: exit
nas_scn: exit
nau_scn: entry
nau_gpl: entry
nau_csl: entry
nau_csl: exit
nau_grl: entry
nau_rsp: entry
nau_rsp: exit
nau_grl: exit
nau_gpl: exit
nau_sgci: entry
nau_rpv: entry
nacomrp: entry
nacomrp: exit
nau_rpv: exit
nau_sgl: entry
nau_srl: entry
nacomrp: entry
nacomrp: exit
nau_srcs: entry
nacomrp: entry
nacomrp: exit
nau_srcs: exit
nau_sras: entry
nacomrp: entry
nacomrp: exit
nacomrp: entry
nacomrp: exit
nau_sras: exit
nau_sras: entry
nacomrp: entry
nacomrp: exit
nau_sras: exit
nau_srl: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
nacomsd: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsd: exit
nau_gse: entry
nau_fad: entry
nau_fad: exit
nau_fad: exit
naunts: entry
naunts: exit
nauninit: entry
nauninit: exit
nau_tadv: exit
nau_tadv: exit
nau_gse: exit
nau_sgl: exit
nau_gsai: entry
naunadinfo: entry
naunadinfo: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
nau1sasi_send_info: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
nau1sasi_send_info: exit
nau_gsai: exit
nau_sgci: exit
nau_scn: exit
naeesn: entry
nacomrp: entry
nacomrp: exit
nacomrp: entry
nacomrp: exit
naeshow: entry
naeshow: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
naeesn: exit
naecsn: entry
nacomrp: entry
nacomrp: exit
nacomrp: entry
nacomrp: exit
naeshow: entry
naeshow: exit
nacomsu: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsu: exit
naecsn: exit
na_csrd: exit
nacomsn: entry
nacomap: entry
nacomps: entry
nacomps: exit
nacomap: exit
nsnasend: bytes to send: 153
nsdo: cid=1, opcode=67, bl=153, what=1, uflgs=0x22, cflgs=0x3
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=8, flg=0x2420c, mvd=0
nsdo: gtn=165, gtc=165, ptn=10, ptc=2019
nsdo: 153 bytes to NS buffer
nsdofls: DATA flags: 0x0
nsdofls: sending NSPTDA packet
nspsend: plen=163, type=6
nttwr: entry
nttwr: socket 716 had bytes written=163
nttwr: exit
nspsend: 163 bytes to transport
nsdoacts: flushing transport
nttctl: entry
nsdo: nsctxrnk=0
nacompd: entry
nacompd: exit
nacomsn: exit
snauicomparehash: entry
nacomrc: entry
nacompd: entry
nacompd: exit
nsnareceive: buffer address: 0xcc7a124 bytes wanted: 2048
nsnareceive: calling NS to receive 2048 bytes into address
0xcc7a124
nsdo: cid=1, opcode=68, bl=2048, what=0, uflgs=0x0, cflgs=0x3
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=8, flg=0x2420c, mvd=0
nsdo: gtn=165, gtc=165, ptn=10, ptc=2019
nsrdr: recving a packet
nsprecv: reading from transport...
nttrd: entry
nttrd: socket 716 had bytes read=87
nttrd: exit
nsprecv: 87 bytes from transport
nsprecv: tlen=87, plen=87, type=6
nsrdr: got NSPTDA packet
nsrdr: NSPTDA flags: 0x0
nsdo: what=1, bl=2048
nsdo: 77 bytes from NS buffer
nsdo: nsctxrnk=0
nsnareceive: received 77 bytes
nsnareceive: no more data to receive - returning
nsnareceive: total bytes received: 77
nacomus: entry
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomdp: entry
nacomdp: exit
nacomus: exit
nacomrc: exit
snauicomparehash: exit
na_csrd: entry
nau_scn: entry
nau_rai: entry
nacomrp: entry
nacomrp: exit
nacomrp: entry
nacomrp: exit
nau1sari_receive_info: exit
nacomrp: entry
nacomrp: exit
nau1sari_receive_info: Server Authentication is disabled
nau1sari_receive_info: exit
nau_rai: exit
naunval: entry
nacomrp: entry
nacomrp: exit
nacomrp: entry
nacomrp: exit
nacomsd: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsd: exit
nacomsd: entry
nacomfsd: entry
nacomfsd: exit
nacomdp: entry
nacomdp: exit
nacomsd: exit
naunval: exit
nau_scn: exit
na_csrd: exit
nacomsn: entry
nacomap: entry
nacomps: entry
nacomps: exit
nacomap: exit
nsnasend: bytes to send: 67
nsdo: cid=1, opcode=67, bl=67, what=1, uflgs=0x22, cflgs=0x3
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=8, flg=0x2420c, mvd=0
nsdo: gtn=87, gtc=87, ptn=10, ptc=2019
nsdo: 67 bytes to NS buffer
nsdofls: DATA flags: 0x0
nsdofls: sending NSPTDA packet
nspsend: plen=77, type=6
nttwr: entry
nttwr: socket 716 had bytes written=77
nttwr: exit
nspsend: 77 bytes to transport
nsdoacts: flushing transport
nttctl: entry
nsdo: nsctxrnk=0
nacompd: entry
nacompd: exit
nacomsn: exit
snauicomparehash: entry
nacomrc: entry
nacompd: entry
nacompd: exit
nsnareceive: buffer address: 0xcc7a124 bytes wanted: 2048
nsnareceive: calling NS to receive 2048 bytes into address
0xcc7a124
nsdo: cid=1, opcode=68, bl=2048, what=0, uflgs=0x0, cflgs=0x3
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=8, flg=0x2420c, mvd=0
nsdo: gtn=87, gtc=87, ptn=10, ptc=2019
nsrdr: recving a packet
nsprecv: reading from transport...
nttrd: entry
nttrd: socket 716 had bytes read=31
nttrd: exit
nsprecv: 31 bytes from transport
nsprecv: tlen=31, plen=31, type=6
nsrdr: got NSPTDA packet
nsrdr: NSPTDA flags: 0x0
nsdo: what=1, bl=2048
nsdo: 21 bytes from NS buffer
nsdo: nsctxrnk=0
nsnareceive: received 21 bytes
nsnareceive: no more data to receive - returning
nsnareceive: total bytes received: 21
nacomus: entry
nacomus: exit
nacomrc: exit
snauicomparehash: failed with error 12638
snauicomparehash: exit
na_server: returning status: "connection in progress"
na_server: exit
nadisc: entry
nacomtm: entry
nacompd: entry
nacompd: exit
nacompd: entry
nacompd: exit
nacomtm: exit
nas_dis: entry
nas_dis: exit
nau_dis: entry
naundiscon: entry
naundiscon: exit
nau_fad: exit
nau_dis: exit
naeetrm: entry
naeetrm: exit
naectrm: entry
naectrm: exit
nagbltrm: entry
nau_gtm: entry
nau_gtm: exit
nagbltrm: exit
nadisc: exit
naconnect: failed with error 12638
naconnect: exit
nserror: nsres: id=1, op=79, ns=12638, ns2=0; nt[0]=0, nt[1]=0,
nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
nioqper: error from niotns: nsaccept failed...
nioqper: nr err code: 0
nioqper: ns main err code: 12638
nioqper: ns (2) err code: 0
nioqper: nt main err code: 0
nioqper: nt (2) err code: 0
nioqper: nt OS err code: 0
niotns: No broken-connection function available.
niomapnserror: entry
niqme: entry
niqme: reporting NS-12638 error as ORA-12638
niqme: exit
niomapnserror: returning error 12638
niomapnserror: exit
niotns: Couldn't connect, returning 12638
niotns: exit
nstimarmed: no timer allocated
nsdo: cid=0, opcode=98, bl=0, what=0, uflgs=0xc0, cflgs=0x2
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=8, flg=0x4208, mvd=0
nsdo: nsctxrnk=0
nsclose: closing transport
nttdisc: entry
nttdisc: Closed socket 716
nttdisc: exit
nsclose: global context check-out (from slot 0) complete
nsmfr: 2312 bytes at 0xcd245e4
nsmfr: 476 bytes at 0xcd1f440
nsbrfr: nsbfs at 0xcd27204, data at 0xcd26178.
nsbrfr: nsbfs at 0xcd269a0, data at 0xcd269dc.
nsbrfr: nsbfs at 0xcd1f980, data at 0xcd27240.
nsbrfr: nsbfs at 0xcd23598, data at 0xcd23dbc.
nigtrm: Count in the NI global area is now 0
nnfgdei: entry
nrigbd: entry
nrigbd: exit
nigtrm: Count in the NL global area is now 0

Did not see the 9i version on OTN. If you have a support contract you file an SR to request the media.
In the 10g version the Oracle Installer is not required you copy the files into a folder on the client and then set an environment variable to point to the files.

Similar Messages

  • Kerberos Authentication between Sharepoint 2013 Foundation - SSRS 2012 - Oracle 11g failing with ORA-12638: Credential retrieval failed

    I have set up SharePoint 2013 Foundation, SharePoint Reporting Services and SQL Server 2012 in a single server. I then created a Data Connection to Oracle 11g. Upon testing the connection, it throws the error “ORA-12638: Credential retrieval failed”.
    Given below are the steps of installation and configuration.
    Installation till basic authentication:
    The installation has been done in a
    single server.
    Installed SQL Server 2012 (Developer version).
    Selected only the following features:
    Database Engine Services
    Analysis Services
    Reporting Services – SharePoint
    Reporting Services Add-in for SharePoint Products
    Management Tools – Basic
    - Management Tools - Complete
      2. Installed SQL Server 2012 SP1.
      3. Installed SQL Server 2012 SP2.
      4. Installed SharePoint Foundation 2013.
      5. Created web application (without Kerberos; we did not even create the SPNs).
          The application pool has been configured to use Reporting Services account since it is a single server installation. This account has been registered as a managed
    account.
      6. Created Site Collection.
      7. Verified that Reporting Services is not installed.
      8. Installed SharePoint Reporting Services from SharePoint 2013 Management Shell.
      9. Verified that Reporting Services is installed.
     10. Created a new SQL Server Reporting Services Service Application and associated the Web Application to the new SQL server Reporting Services Service Application.
      11. Verified that SQL Server Reporting Services Service Application and its proxy have started. Reset IIS.
      12. Created a Site.
      13. Created a Data Connection library with “Report Data Source” content type.
      14. Created a Report Model library with “Report Builder Model” content type.
      15. Created a Report library with “Report Builder Report” content type.
      16. Uploaded an SMDL to the Report Model library.
      17. Added the top level site to Local Intranet instead of as a Trusted Site in the browser settings.
      18. Able to create and save a report using Report Builder.
    Hence, basic authentication is working and SSRS is able to connect to Oracle database.
    Next we have to configure Kerberos settings between SharePoint and SQL Server.
    Implementation of Kerberos authentication
    In the Report Server machine, opened the file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\rsreportserver.config  and added the Authentication Types of RSWindowsNegotiate
    and RSWindowsKerberos.
     2.  Set up the following SPNs.
                   a) SQL Server Database Engine service (sqlDbSrv2):
                    setspn -S MSSQLSvc/CER1110:1433 CERDEMO\sqlDbSrv2
                    setspn -S MSSQLSvc/CER1110.cer.demo.com:1433 CERDEMO\sqlDbSrv2
                 In the Delegation tab of the account, selected "Trust this user for delegation to any service (Kerberos only)".
    b) Account: SharePoint Setup Admin account (spAdmin2)
         setspn -S HTTP/CER1110:9999 CERDEMO\spAdmin2
                    setspn -S HTTP/CER1110.cer.demo.com:9999 CERDEMO\spAdmin2
                    In the Delegation tab of the account, selected "Trust this user for delegation to any  service
    (Kerberos only)".
    c) Account: SQL Server Reporting Service account (sqlRepSrv2)
                       setspn -S HTTP/CER1110 CERDEMO\sqlRepSrv2
                       setspn -S HTTP/CER1110.cer.demo.com CERDEMO\sqlRepSrv2
                       In the Delegation tab of the account, selected "Trust this user for delegation to any service
    (Kerberos only)".
      3. Configure the Web Application to use “Negotiate (Kerberos)”.
      4. Logged in as SharePoint Administrator to the SharePoint server and opened the top level site in the IE browser.
         The Event Viewer logged the login process for the SharePoint Administration account as
    Negotiate and not Kerberos.
      5. Implemented Kerberos for Oracle database and client.
         Able to connect to the Oracle database via Kerberos authentication using SQL Plus.
      6. Turn on Windows Firewall.
      7. While testing the site's data connection using Kerberos settings, got the error
    “Can not convert claims identity to windows token. This may be due to user not logging in using windows credentials.”
          Note: The Data Connection for basic authentication still worked.
      8. Created a Claims to Windows Token Service account (spC2WTS2).
      9. Started the Claims to Windows Token Service.
     10. Registered the Claims to Windows Token Service account as a Managed Account.
     11. Changed the Claims To Windows Token Service to use the above managed account.
     12. Verified that the Claims to Windows Token Service account (spC2WTS2) is automatically added to the WSS_WPG local group on the SharePoint box.
          Note: The Reporting Services service account is also a part of the WSS_WPG local group.
     13. Added the Claims to Windows Token Service account (spC2WTS2) to the Local Admin Group on the machine having the SharePoint App Server.
     14. In the SharePoint box, added the Claims to Windows Token Service account (spC2WTS2) in the Act as part of the operating system policy right.
     15. The Claims to Windows Token Service account (spC2WTS2) has the WSS_WPG group configured.
          When the C2WTS service was configured to use the managed account Claims to Windows Token Service account (spC2WTS2) earlier, the spC2WTS2 account was automatically
    added to the WSS_WPG local group on the SharePoint box. The WSS_WPG group in turn is configured in c2wtshost.exe.config file.
     16. Verified that the Reporting Services account is a managed account and part of the WSS_WPG group.
     17. Earlier Service Application Pool - SQL Server Reporting Services App Pool service was associated with the SharePoint Admin account.
          Changed this to associate the Reporting Service account with the Service Application Pool - SQL Server Reporting Services App Pool service.
     18. Changed the delegation of the Reporting Service account to constrained delegation with Protocol Transitioning. This is because we are transitioning from one authentication scheme (Claims) to another (Windows Token).
          For this, the delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use
    any authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
          Note: The Reporting Service account already had an HTTP SPN.
     19. Next, the goal was to make the Claims To Windows Token Service account match the Reporting Service account.
           For this, we created a fake SPN for the Claims To Windows Token Service account since the delegation tab was missing.
           The delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use any
    authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
     20. Restarted the SharePoint server.
     21. Tested the data connection with the Kerberos settings again.
           Got the error
    “ORA-12638: Credential retrieval failed”.
    Can anyone tell me what is wrong with this setup?

    http://www.freeoraclehelp.com/2011/10/kerberos-authentication-for-oracle.html
    Problem4: ORA-12638: Credential retrieval failed
    Solution:  Make sure that SQLNET.KERBEROS5_CC_NAME is set in sqlnet.ora and okinit has been run before attempting to connect to the database.
    Do check 
    http://webcache.googleusercontent.com/search?q=cache:5a2Pf3FH7vkJ:externaltable.blogspot.com/2012/06/kerberos-authentication-and-proxy-users.html+&cd=5&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/

  • 11.2g Installation error on Win7:  ORA-12638 Credential Retrieval Failed

    I'm attempting to install an Oracle instance on my computer, which is Windows 7, 64-bit. In the middle of the installation I got an error fro Credential Retrieval. I've looked for solutions and they all related to modifying sqlnet.ora. However, at this point in the installation, there does not appear to be such a file on my system, so I can't very well change it. What can I do to install this? Thanks. I thought this might take thirty minutes, not my entire work day.
    Ken
    Edited by: user639117 on Aug 29, 2011 3:34 PM

    Here is the last 100 lines of the installation log. First, though, I have an Oracle client to use to talk to the Oracle database behind PeopleSoft, but I don't want to touch that database for what I'm doing. I need to have a separate database I can experiment in. Thanks.
    INFO: Launching Oracle Database 11g Release 2 Installer
    INFO: Started executing the flow in INTERACTIVE mode
    INFO: Waiting for completion of background operations
    INFO: Finishing all forked tasks at state prepInstall
    INFO: Waiting for completion all forked tasks at state prepInstall
    INFO: All forked task are completed at state prepInstall
    INFO: Completed background operations
    INFO: Executing action at state prepInstall
    INFO: Completed executing action at state <prepInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <prepInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <prepInstall>
    INFO: Completed validating view at state <prepInstall>
    INFO: Validating state <prepInstall>
    WARNING: Validation disabled for the state prepInstall
    INFO: Completed validating state <prepInstall>
    INFO: Verifying route success
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state decideOCMInstall
    INFO: Completed executing action at state <decideOCMInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <decideOCMInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <decideOCMInstall>
    INFO: Completed validating view at state <decideOCMInstall>
    INFO: Validating state <decideOCMInstall>
    WARNING: Validation disabled for the state decideOCMInstall
    INFO: Completed validating state <decideOCMInstall>
    INFO: Verifying route requireOCM
    INFO: Get view named [OCMDetailsUI]
    INFO: View for [OCMDetailsUI] is oracle.install.ivw.common.view.OCMDetailsGUI@6aa218a5
    INFO: Initializing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed initializing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Displaying view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed displaying view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Loading view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed loading view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Localizing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed localizing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state getOCMDetails
    INFO: Completed executing action at state <getOCMDetails>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <getOCMDetails>
    INFO: Pause Oracle Database 11g Release 2 Installer
    INFO: Resume Oracle Database 11g Release 2 Installer
    INFO: Exit Status is 0
    INFO: Shutdown Oracle Database 11g Release 2 Installer

  • Help .....Credential retrieval failed Error

    Hi all,
    I am geting below error, when i run my application with backend Oracle 9i.
    ORA-12638: Credential retrieval failed
    Please Help.
    Thanks,
    Sam

    I believe this is because of Active Directory servers on your network.
    Essentially, your NT logon information has been lost by the network AD server. You will probably find that you can log on to a single session, but if you try and connect to another session from that one you will get this error. This can sometimes happen if you leave your client machine logged on over long periods of time (days or weeks).
    Try rebooting your client PC, which usually re-registers your credentials with the AD server.
    If it continues, speak to your network admin team.

  • Oracle 11gr2 ODBC - error updating linked table (Ora 01722 and 01461)

    Good day folks,
    My shop has just moved to 11gR2 client and server. We were previously using 11gR1 with no issues (and before that, 10, 9, 8, etc). After moving from 11r1 to 11r2, we began getting errors from some of our MS Access ODBC applications with linked Oracle tables. The error would occur when executing an UPDATE statement that had a table join in it. Here is a simple example:
    UPDATE TableX SET TableX.Fieldx = “valuex” WHERE TableX.Fieldx = TableZZZ.Fieldx AND TableZZZ.fieldzzz is not null
    Currently, after moving to 11r2 client, an update query like the one above will error out in one of the following ways:
    - odbc -- update on a linked table failed - Ora 01722 invalid number
    - ORA-01461: can bind a LONG value only for insert into a LONG column
    - Or it will say that the records were not updated because they are locked.
    In some cases, I have noticed some records being updated that were not supposed to be updated.. records that the where clause was meant to exclude. That is very unsettling.
    I understand that perhaps an update statement shouldn’t be joining table and perhaps it should be done over a couple calls, but the reality is – this code is out there in abundance and if there is a solution that doesn’t amount to my changing all this code or reverting to 11gR1, I would love to find it.
    Since the query runs fine using SQL Plus and also runs fine if I run it against a local table in Access rather than a linked Oracle table – I figured the issue was possibly with the Oracle 11r2 ODBC driver. So, I switched the Oracle ODBC driver (sqora32.dll version 11.2.0.1 with version 11.1.0.7), and the problem went away.
    I believe this verifies the issue resides with Oracle ODBC version 11.2.0.1. Can anyone help? I'm assuming it's not particularly wise to simply swap sqora32.dll files on all my clients machines, so I am searching for an actual solution here instead.
    I also did performed ODBC tracing to see what Access is handing to the Oracle ODBC driver. I then used database or SQLNet tracing to see what the ODBC driver was handing off to SQLNet/database.
    The results are in the following post:
    Thanks guys!!

    SQLNET TRACE
    If you want an Admin level trace, I can have one right away.
    (856) [13-JUN-2010 22:11:00:657] nsopen: opening transport...
    (856) [13-JUN-2010 22:11:00:657] nttcni: Tcp conn timeout = 60000 (ms)
    (856) [13-JUN-2010 22:11:00:657] nttcni: trying to connect to socket 1364.
    (856) [13-JUN-2010 22:11:00:688] nttcni: connected on ipaddr 142.139.221.62
    (856) [13-JUN-2010 22:11:00:688] nttcon: set TCP_NODELAY on 1364
    (856) [13-JUN-2010 22:11:00:688] nsopen: transport is open
    (856) [13-JUN-2010 22:11:00:688] nsnainit: inf->nsinfflg[0]: 0x61 inf->nsinfflg[1]: 0x61
    (856) [13-JUN-2010 22:11:00:688] nsopen: global context check-in (to slot 0) complete
    (856) [13-JUN-2010 22:11:00:688] nscon: doing connect handshake...
    (856) [13-JUN-2010 22:11:00:688] nscon: sending NSPTCN packet
    (856) [13-JUN-2010 22:11:00:688] nscon: sending 233 bytes connect data
    (856) [13-JUN-2010 22:11:00:688] nsdo: 233 bytes to NS buffer
    (856) [13-JUN-2010 22:11:00:719] nscon: got NSPTRS packet
    (856) [13-JUN-2010 22:11:00:719] nscon: sending NSPTCN packet
    (856) [13-JUN-2010 22:11:00:719] nscon: sending 233 bytes connect data
    (856) [13-JUN-2010 22:11:00:719] nsdo: 233 bytes to NS buffer
    (856) [13-JUN-2010 22:11:00:735] nscon: got NSPTAC packet
    (856) [13-JUN-2010 22:11:00:735] nscon: connect handshake is complete
    (856) [13-JUN-2010 22:11:00:735] nscon: nsctxinf[0]=0x61, [1]=0x21
    (856) [13-JUN-2010 22:11:00:735] nsnainconn: inf->nsinfflg[0]: 0x61 inf->nsinfflg[1]: 0x21
    (856) [13-JUN-2010 22:11:00:735] nsnasend: bytes to send: 158
    (856) [13-JUN-2010 22:11:00:735] nsdo: 158 bytes to NS buffer
    (856) [13-JUN-2010 22:11:00:735] nsnareceive: buffer address: 0x132c34 bytes wanted: 2048
    (856) [13-JUN-2010 22:11:00:735] nsnareceive: calling NS to receive 2048 bytes into address 0x132c34
    (856) [13-JUN-2010 22:11:00:766] nsdo: 153 bytes from NS buffer
    (856) [13-JUN-2010 22:11:00:766] nsnareceive: received 153 bytes
    (856) [13-JUN-2010 22:11:00:766] nsnareceive: no more data to receive - returning
    (856) [13-JUN-2010 22:11:00:766] nsnareceive: total bytes received: 153
    (856) [13-JUN-2010 22:11:01:063] nsnasend: bytes to send: 77
    (856) [13-JUN-2010 22:11:01:063] nsdo: 77 bytes to NS buffer
    (856) [13-JUN-2010 22:11:01:063] nsnareceive: buffer address: 0x132c34 bytes wanted: 2048
    (856) [13-JUN-2010 22:11:01:063] nsnareceive: calling NS to receive 2048 bytes into address 0x132c34
    (856) [13-JUN-2010 22:11:01:079] nsdo: 64 bytes from NS buffer
    (856) [13-JUN-2010 22:11:01:079] nsnareceive: received 64 bytes
    (856) [13-JUN-2010 22:11:01:079] nsnareceive: no more data to receive - returning
    (856) [13-JUN-2010 22:11:01:079] nsnareceive: total bytes received: 64
    (856) [13-JUN-2010 22:11:01:079] naun5authent: Authentication type is 0
    (856) [13-JUN-2010 22:11:01:079] nsnasend: bytes to send: 1862
    (856) [13-JUN-2010 22:11:01:079] nsdo: 1862 bytes to NS buffer
    (856) [13-JUN-2010 22:11:01:079] nsnareceive: buffer address: 0x132c34 bytes wanted: 2048
    (856) [13-JUN-2010 22:11:01:079] nsnareceive: calling NS to receive 2048 bytes into address 0x132c34
    (856) [13-JUN-2010 22:11:01:141] nsdo: 165 bytes from NS buffer
    (856) [13-JUN-2010 22:11:01:141] nsnareceive: received 165 bytes
    (856) [13-JUN-2010 22:11:01:141] nsnareceive: no more data to receive - returning
    (856) [13-JUN-2010 22:11:01:141] nsnareceive: total bytes received: 165
    (856) [13-JUN-2010 22:11:01:141] nsnasend: bytes to send: 33
    (856) [13-JUN-2010 22:11:01:141] nsdo: 33 bytes to NS buffer
    These lines are present using both version of sqora32.dll
    (856) [13-JUN-2010 22:11:01:141] nszgwop: SQLNET.WALLET_OVERRIDE not found, using default.
    (856) [13-JUN-2010 22:11:01:157] nscontrol: Vect I/O support: 0(856) [13-JUN-2010 22:11:01:391] nioqrc: Recieve: returning error: 3111
    (856) [13-JUN-2010 22:11:01:391] nsdo: sending NSPTMK packet
    (856) [13-JUN-2010 22:11:01:391] nserror: nsres: id=0, op=77, ns=12630, ns2=0; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    These lines only happen when using the R2 version of sqora32.dll
    (856) [13-JUN-2010 22:11:01:719] nioqrc: Recieve: returning error: 3111
    (856) [13-JUN-2010 22:11:01:719] nsdo: sending NSPTMK packet
    (856) [13-JUN-2010 22:11:01:860] nserror: nsres: id=0, op=0, ns=12630, ns2=0; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    (856) [13-JUN-2010 22:21:03:782] nstimarmed: no timer allocated

  • Oracle ODBC Driver Specifc Error Codes

    Dear All,
    I'm currently working in a migration assignment.I'm looking for a Technical document which consists error codes specific to Oracle ODBC Driver(ver.9.00.11.00).Any help in this regard will be appreciated.
    Thanks & Regards,
    Sam

    There shouldn't be any Oracle ODBC Driver specific error codes. When you're talking about ODBC and error codes, there are two possibilities-
    1) You're looking at the SQLState return codes. These are part of an ISO standard (they're more than happy to sell you a copy) and are documented in the ODBC Programmer's Reference from Microsoft as well as most decent ODBC guides.
    2) You're looking at the Oracle specific error codes that are returned as the error text in ODBC. These (potentially) depend on the version of the database you're connecting to, rather than the version of the client software you have, and are covered in Oracle's error message manual available at tahiti.oracle.com
    Justin

  • Credential Retrieval

    On installing Oracle 8i I let a database get created. On initialising the database an error occurred, something to do with credential retrieval. I've forgotten what the error code was. Anybody got any ideas.
    Many thanks
    Andrew

    I have a similar configuration. I'm running Oracle client on Win2k. The 8.1.6 server is running on a different. I didn't have this problem until last week when we upgraded the server from NT 4 to Win2k Advance Server.
    As best I can tell, the problem has to do with the server trusting the client (at a network level). I can connect fine using sqlplus. But a custom DLL running as a service gets the credential error unless I change the service to run as a account known to the NT Domain, not just a local Win2k account.
    Robert
    null

  • Credential retrieval failed

    I get Credential retrieval failed when trying to loggin to "run SQL Command" tool:
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Dec 8 16:08:26 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect sys/<pwd> as sysdba
    ERROR:
    ORA-12638: Credential retrieval failed
    SQL> connect / as sysdba
    ERROR:
    ORA-12638: Credential retrieval failed
    SQL>
    Message was edited by:
    VS1

    You've posted to the wrong forum, this is the Application Express forum.

  • Express edition and Credential retrieval failed - again

    Following a successfull installation of the Express edition, I get the common problems of home page not available and 'credential retrieval failed' when I try to login as the system/sysdba. I have read all the threads I have found and have found no remedies which help. I have also tried the following:
    - sqlnet.ora: removing the (NTS) auth. service. This just creates another error message:'Oracle not available'
    What more is there to check?
    My OS is Windows XP SP3
    Re-installation: tried multiple times as local administrator and user with the admin rights - no change.

    Well, I am not an expert but, after having installed Oracle XE several times on several platforms, and having experienced some problems, I suspect that you should give a try with WXP SP2 instead of WXP SP3...
    Good luck!
    Victor

  • Can't connect to sql*net, ORA-12638: Credential retrieval failed

    after installed oracle9i, I can use sqlplus, but when I try to use sql navigator, I can't connect to sql*net.
    I found out the following error message in logfile:
    Fatal NI connect error 12638, connecting to:
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=BEQ)
    (PROGRAM=oracle)
    (ARGV0=oracleoms)
    (ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))
    (CONNECT_DATA=(SID=oms)(CID=(PROGRAM=c:\oracle\ora92\bin\ORACLE.EXE)(HOST=JZQGG31)(USER=OraUser))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
    Time: 11-MAR-2004 17:04:17
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12638
    TNS-12638: Credential retrieval failed
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    =============================================
    Hope somebody can help me! Thanks!

    change in sqlnet.ora file
    find under oracle home\network\admin\sqlnet
    and
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    CHANGE TO
    SQLNET.AUTHENTICATION_SERVICES = (NONE)
    hope it will solve u r problem
    kuljeet pal singh

  • ODBC fails with error 126

    I am trying to connect to oracle 11g database via instant client 11.2 odbc driver on windows xp.
    When I test the connection in the odbc data source administrator, I get the "connection successful" message.
    When I try connect via Crystal Developer or via other software that utilize odbc, I get error 126. Teradata SQL assistant gave me an error 127.
    I have reviewed prior articles/threads on this subject and have tried copying the drivers mentioned in the older posts.
    I believe I have the path and tns_admin environment variables set properly.

    Hi JMARKS6205-2,
    Sorry for my delay.
    Based on your description, it seems that you have checked the registry entries. On current situation, I suggest
    that you should check again. Just to confirm.
    Please open Registry Editor and navigate to the path: HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI
    Since installation information for ODBC drivers is stored in this key. Please make sure that the required ODBC
    driver file (psqlodbc30a.dll) is in the correct folder as described by the registry keys.
    For more details, please refer to the following KB.
    PRB: Error Message: "Could Not Load Translator or Setup
    Library"
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Oracle 10g ODBC driver with Windows 7 32 bit connecting to Excel

    Hi Everyone,
    I'm having an issue connecting to our oracle 10g database (64 bit system) from a 32 bit windows 7 installation running excel 2010/2007 using odbc drivers. Our excel spreadsheets worked without issue in windows xp.
    In windows 7 I have been able to install the odbc driver via the following method:
    1. Download the oracle 'basic' client and oracle 'odbc' client from www.oracle.com and extract the contents:
    instantclient-basic-win32-10.2.0.3-20061115
    instantclient-odbc-win32-10.2.0.3-20061115
    2. Create a folder 'oracle' and place the instantclient_10_2 folder inside.
    3. Ensure all the basic and odbc files reside in this folder.
    4. Create a 'network' folder within instantclient_10_2
    5. Create an 'admin' folder within 'network'
    6. Create sqlnet.ora and tnsnames.ora files within the 'admin' folder:
    7. Run 'obdc_install' within the instantclient_10_2 folder
    8. Download and run the oracle odbc driver exe file from www.oracle.com (ORA10203.exe)
    9. Go to Control Panel -> Administrative Tools -> Data Sources and create a new System DN
    This allows excel spreadsheets connecting ONLY to oracle to function.
    Unfortunately some of our spreadsheets connect to both a MySQL database as well as oracle. Spreadsheets connecting only to MySQL also function correctly, however, as soon as the vb associated with a spreadsheet includes a mysql call followed by an oracle call the spreadsheets fail. In Excel 2007 excel crashes completely everytime. In Excel 2010 the mysql data is generated, then when the script hits to oracle odbc connection there is a long pause, the oracle ODBC driver connect pops up requesting a username/password (this didn't happen in xp), then the data source selection pops up, then the username/password connect screen pops up again, and finally it fails with a runtime error '1004' General ODBC error.
    If you look at the VB script it's failing at the Refresh BackgroundQuery statement in the ODBC connection block:
    With Worksheets("Oracle1").QueryTables.Add(Connection:= _
    "ODBC;DSN=Oracle_ODBC;UID=user;PWD=password;SERVER=ORACLE_LINUX;", _
    Destination:=Worksheets("Oracle1").Range("A1"))
    .CommandText = strSql
    .Name = "Oracle1_data"
    .FieldNames = True
    .RowNumbers = False
    .FillAdjacentFormulas = False
    .PreserveFormatting = True
    .RefreshOnFileOpen = False
    .BackgroundQuery = True
    .RefreshStyle = xlOverwriteCells
    .SavePassword = True
    .SaveData = True
    .AdjustColumnWidth = True
    .RefreshPeriod = 0
    .PreserveColumnInfo = True
    .Refresh BackgroundQuery:=False
    End With
    Does anyone know how to get around this? It's very important!!
    Also if you try to edit the oracle ODBC connections in Control Panels -> Administrative Tools -> Data Sources, ODBC crashes 95% of the time.
    Advice greatly appreciated!!

    Well, here's what I'd check anyway..
    1) get Process Explorer from http://sysinternals.com
    2) make a mysql connection, get a list of dll's loaded (include the location and version columns in the lower pane output)
    3) close that, then make an ora odbc connection, get a list of dlls.
    4) close that, then make a mysql connection followed by an ora odbc connection, get a list of dlls
    5) compare the lists of loaded dlls. In particular, the difference between #3 and #4, is there a dll dependency that gets loaded by oracle's odbc that comes from a different location when you've opened a mysql connection first?
    May or may not help, but might turn up a difference to help point you in a direction.
    Greg

  • ORACLE 8i ODBC

    i am using VFP5 as a frontend and oracle 8i as a back end. i am connecting oracle thru
    ODBC.
    When i try to execute any replication
    procedure thru VFP5 i get an error message
    'client cannot begin a transaction'. To resolve this i installed oracle8.05 ODBC
    in the 8i machine and execute the replication
    procedure it is working smoothly. so what
    i want to know is is there any bug
    in the oracle 8i odbc. have they released
    any ODBC patch for ORACLE 8i.
    null

    The Oracle ODBC driver certainly supports LOBs. I'm reasonably
    confident it supports BFILEs as well, but you'd probably have to
    double-check the docs.
    Justin

  • ORACLE RDB ODBC

    Hi All,
    I have a web application built using ASP.Net and communicates with a Web services which uses oracle rdb odbc driver to connect to RDB server, but after a while I started getting this error when executing simple statements like insert or update against the database:
    Data : System.Collections.ListDictionaryInternal
    Source : SQRDB3.DLL
    Message : ERROR [08S01] [Oracle][ODBC][Rdb] send() Ret -1 Err#10038 WSAENOTSOCK File descriptor not a socket
    InnerException :
    Error: System.Data.Odbc.OdbcException: ERROR [08S01] [Oracle][ODBC][Rdb] send() Ret -1 Err#10038 WSAENOTSOCK File descriptor not a socket
    at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
    at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
    at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
    at System.Data.Odbc.OdbcCommand.ExecuteNonQuery()
    Please Help Me,
    Thanks in advance..

    Hello,
    Rdb ODBC questions are easily overseen in this forum. In general we recommend to post Rdb related questions in the communities at:
    https://communities.oracle.com/portal/server.pt/community/rdb_product_family_on_openvms
    There you are getting much faster a response because that site is watched by Oracle Rdb Engineering and Support.
    In your special case: does this happen frequently, is that still a problem for you? In that case enable client logging and if the client log file contains a message like SQLSRV-E-IDLEUSERTIMEOUT then you might have just a too small idle user timeout for your SQL/Services service that you use for your ODBC connection. You can change that value easily:
    SQLSRV> ALTER SERVICE <your service> IDLE_USER_TIMEOUT <new value in seconds>;
    If that does not help then you can always log a Service Request with Oracle Support.
    Regards
    Wolfgang
    Oracle Rdb Support

  • ORA-12638 CREDENTIAL RETRIEVAL FAILED

    Yesterday when I started my server after holiday it gives error ORA-12638 Credential Retrieval Failed,
    Can anyone help. I have taken export backup of my schema before holiday. I can load that but I need advice what should I do to recover. To me its login connectivity problem.

    check the file sqlnet.ora where the database is installed for an entry like SQLNET.AUTHENTICATION_SERVICES= (NTS). If so, disable it.

Maybe you are looking for