Page 1 of 1

problem of ODAC pro 6 direct access oracle 9i

Posted: Sat 31 Mar 2007 00:43
by liyf
i buy a single licence of odac pro6 several days ago. i download the soft and install, but i cann't use "ORASESSION.OPTION.DIRECT" set to TRUE to connect to oracle 9i. prompt me "access vialation".

User Name: dmis
Password: dmis
Server: 127.0.0.1:1521:orcl

OCI: version 9.2.0.1.0 (not loaded)
DLL: Y:\oracle\ora92\bin\oci.dll
HOME(OraHome92): Y:\oracle\ora92
Current Home: Y:\oracle\ora92
Call style: v8
Oracle:
OS: windows 2003

how to solve above problem? thanks.

Posted: Mon 02 Apr 2007 08:17
by Plash
We could not reproduce the problem. Please provide the Pascal code that results in access violation.

Posted: Mon 02 Apr 2007 10:23
by liyf
i use "odacdemo" sample code and check "direct", then prompt me access vialation. my developping tools is "delphi 5", is its version too low to cause the problem?
plash wrote:We could not reproduce the problem. Please provide the Pascal code that results in access violation.

Posted: Mon 02 Apr 2007 15:20
by Challenger
Please specify the version of Delphi or CBuilder you use.

Posted: Tue 03 Apr 2007 22:05
by liyf
I am using "Delphi 5.0". can you send me a last version of odac 5.8? i want to try the problem is same in that version.
challenger wrote:Please specify the version of Delphi or CBuilder you use.

Posted: Wed 04 Apr 2007 12:50
by Challenger
Please, try to create a new project and test connecting of TOraSession in Direct mode (the Direct property is set to True) at runtime. Try to connect TOraSession in design time. Please specify whether you have ODAC for C++Builder 5 installed.

Posted: Sun 08 Apr 2007 08:43
by liyf
i havn't installed ODAC for C++ Builder 5. cann't connect to oracle 9i in design time, show the same message.
challenger wrote:Please, try to create a new project and test connecting of TOraSession in Direct mode (the Direct property is set to True) at runtime. Try to connect TOraSession in design time. Please specify whether you have ODAC for C++Builder 5 installed.

Posted: Tue 10 Apr 2007 12:08
by Challenger
Please try to install the new build of ODAC (6.00.0.5) with the force key (odac600cb5pro.exe /force).