"NET: Range check error" in OCISessionBegin(), Direct = True

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
aoven
Posts: 9
Joined: Wed 01 Aug 2007 00:26

"NET: Range check error" in OCISessionBegin(), Direct = True

Post by aoven » Wed 16 Jul 2008 07:48

Any ideas as to what could be the cause of this error?

TIA

aoven
Posts: 9
Joined: Wed 01 Aug 2007 00:26

Post by aoven » Wed 16 Jul 2008 09:23

Some further info... It appears that the problem occurs during execution of des_enc() routine. Here's the limited callstack:

:7c812a5b kernel32.RaiseException + 0x52
:00c184d5 desfunc + $C5
System.ErrorAt(???,???)
:00403744 ErrorAt + $1C
:00c17869 des_enc + $6D
:00c17782 encryptAll8BytesBlocks + $CA
:00c18e48 oneWayEncryption + $6C
:00c18b6e normO + $4E
:00c23286 N_152.N_325 + $172
:00c23d29 N_152.Connect + $265
:00c2a892 N_447 + $32
OraClassesUni.ConnectDefaultOCI80
OraClassesUni.TOCIConnection.Connect('')
DBAcceDa.TCustomDAConnection.DoConnect
Uni.TUniConnection.DoConnect
DBAcceDa.TCustomDAConnection.PerformConnect(False)
DBAcceDa.TCustomDAConnection.SetConnected(True)
DBAcceDa.TCustomDAConnection.Connect

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Thu 17 Jul 2008 14:13

We have fixed this problem. This fix will be included in the next build of UniDAC. Thank you for your help.

Post Reply