Connection Error using ODAC with NET Option

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ADanmayer
Posts: 4
Joined: Wed 04 May 2005 08:10

Connection Error using ODAC with NET Option

Post by ADanmayer » Mon 30 Apr 2007 12:29

Hi,

we were using ODAC 5.5 with the .NET option to connect to a oracle 9i database. Since we upgraded to 5.80 (I also tried the newest 6.00 trial) we have problems with some customers, who use XP Home (Service Pack 2).
I wrote a simple demo (just connects to the server). They all get an exception during the connection process. Without NET option all works fine. Also using the older ODAC version 5.5 works fine.
Is there any known issue ?

Alexander Danmayer
innologiX Softwareentwicklungen

ADanmayer
Posts: 4
Joined: Wed 04 May 2005 08:10

More specific details...

Post by ADanmayer » Mon 30 Apr 2007 14:05

I debugged into OraClasses.pas (It could open a socket and send and receive data but gets afterwards an error during the processing).

The Exception is caused by OraClasses.pas:
Line 1512: Check(OCISessionBegin(hSvcCtx, hOCIError, hSession, Credt, Mode));

Using Version 5.55.1.24 with Net Options works. 5.80.0.39 and later produce exceptions.


Alexander Danmayer

Horace
Posts: 40
Joined: Thu 11 May 2006 23:37

Post by Horace » Tue 01 May 2007 07:40

Please diable DEP temporarily in your boot.ini file by adding the switch
/noexecute=alwaysoff

Reboot and test if your problem reocurrs.

Please report if it has made any difference.

Post Reply