Page 1 of 1

Connection Error using ODAC with NET Option

Posted: Mon 30 Apr 2007 12:29
by ADanmayer
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

More specific details...

Posted: Mon 30 Apr 2007 14:05
by ADanmayer
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

Posted: Tue 01 May 2007 07:40
by Horace
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.