Creating a 64-bit ISAPI dll; Session.Logon keeps returning an empty exception and doesn't connect - 02/25/15 02:10 PM
Hi there,
I am trying to create an ISAPI dll to run on a fully 64-bit machine, IIS 7 64-bit and Oracle 64-bit client.
The dll it self works fine, loads nicely in the browser etc..
There are several calls available and every call create a session, tries to connect and do some small database stuff.
The Logon of the session keeps returning an empty OracleExecption.
My code looks something like this:
I added some extra code to the LogOn procedure to return the real error message giving by Oracle but this is empty.
I am using XE6 with DOA 4.1.3.5
Any help is appreciated.
I am trying to create an ISAPI dll to run on a fully 64-bit machine, IIS 7 64-bit and Oracle 64-bit client.
The dll it self works fine, loads nicely in the browser etc..
There are several calls available and every call create a session, tries to connect and do some small database stuff.
The Logon of the session keeps returning an empty OracleExecption.
My code looks something like this:
Code
dtmSession:=TdtmSession.Create(nil); dtmSession.OracleSession.LogonDatabase:=OracleDatabase; dtmSession.OracleSession.LogonUsername:=OracleSchema; dtmSession.OracleSession.LogonPassword:=OracleWachtWoord try try dtmSession.OracleSession.LogOn(errorMessage); except on E: Exception do LogIt(E.Message); //Returns Not Logged On end; finally //Save a record to db FreeAndNil(dtmSession); end;
I added some extra code to the LogOn procedure to return the real error message giving by Oracle but this is empty.
I am using XE6 with DOA 4.1.3.5
Any help is appreciated.