Print Thread
Page 2 of 2 1 2
Re: Creating a 64-bit ISAPI dll; Session.Logon keeps returning an empty exception and doesn't connect
F van Schaik #51026 03/17/15 03:13 PM
Joined: Feb 2015
Posts: 8
F
Member
OP Offline
Member
F
Joined: Feb 2015
Posts: 8
Seems the be a faulty Oracle 64-bit installation.
Post can be closed

Re: Creating a 64-bit ISAPI dll; Session.Logon keeps returning an empty exception and doesn't connect
F van Schaik #59995 05/07/19 07:54 AM
Joined: Feb 2005
Posts: 49
A
Member
Offline
Member
A
Joined: Feb 2005
Posts: 49
Hello F van Schaik,
we're facing the same problem as you in these days.
Could you please remember what was wrong with the previous Oracle installation? And what was the soution you found?
Thanks

Re: Creating a 64-bit ISAPI dll; Session.Logon keeps returning an empty exception and doesn't connect
Alberto Pilat #60012 05/10/19 12:23 PM
Joined: Feb 2005
Posts: 49
A
Member
Offline
Member
A
Joined: Feb 2005
Posts: 49
Hi Marco,
I checked in depth the behavior and it seems to belong to DOA components.

I tried a simple application with a DOA Connection (TOracleSession) and a FireDAC connection (TFDCOnnection) against the same database.
The application is compiled in 64bit, Oracle Client 64bit is also correctly installed.

The DOA Connection works fine if the application is a dekstop exe. while it doesn't work if it is compiled as ISAPI library.
FireDAC connection works fine in both situations.
The class exception is EOracleError with an empty message.

I also verified that DOA connection works fine in IIS 7.x (Windows7) while doesn't work in IIS 8 and above (Windows10, Windows 2012, etc...).

Could you please verify it?

Re: Creating a 64-bit ISAPI dll; Session.Logon keeps returning an empty exception and doesn't connect
Alberto Pilat #60013 05/11/19 08:15 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
Can you send me your test project?


Marco Kalter
Allround Automations
Re: Creating a 64-bit ISAPI dll; Session.Logon keeps returning an empty exception and doesn't connect
Marco Kalter #60015 05/13/19 07:51 AM
Joined: Feb 2005
Posts: 49
A
Member
Offline
Member
A
Joined: Feb 2005
Posts: 49
You can download a test project from
http://www.mondoedp.com/uploads/media/irisftp/download/Test_ISAPI_DO64.zip

Delphi 10.2.3 - It needs IntraWEB 15.
In Unit3 you have to assign the correct connection parameters.

Project1SA is the stand-alone exe version that woeks fine.
ProjectISAPI is the IIS-dll version that can't connect with TOracleSession.

Note: for some reason FDConnection must be connected first then DOA, I didn't investigate but it doesn't matter in this case.

Re: Creating a 64-bit ISAPI dll; Session.Logon keeps returning an empty exception and doesn't connect
Alberto Pilat #60035 05/16/19 09:10 AM
Joined: Feb 2005
Posts: 49
A
Member
Offline
Member
A
Joined: Feb 2005
Posts: 49
Hello Marco,
was you able to see the test-project? Or you need something else?

Thanks

Re: Creating a 64-bit ISAPI dll; Session.Logon keeps returning an empty exception and doesn't connect
Alberto Pilat #60039 05/17/19 09:13 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
We will get to this shortly. I will post the results here.


Marco Kalter
Allround Automations
Re: Creating a 64-bit ISAPI dll; Session.Logon keeps returning an empty exception and doesn't connect
Marco Kalter #60196 06/18/19 10:12 AM
Joined: Feb 2005
Posts: 49
A
Member
Offline
Member
A
Joined: Feb 2005
Posts: 49
Hi Marco,
any news about the problem with IIS 64bit?

Thank you

Re: Creating a 64-bit ISAPI dll; Session.Logon keeps returning an empty exception and doesn't connect
Marco Kalter #60369 08/01/19 10:46 AM
Joined: Feb 2005
Posts: 49
A
Member
Offline
Member
A
Joined: Feb 2005
Posts: 49
Excuse me Marco,
we really need to use our application in 64-bit IIS environment...
Could you please let me know?

I'm waiting for your reply.
Best regards.

Page 2 of 2 1 2

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.080s Queries: 15 (0.043s) Memory: 2.5541 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-05 11:42:14 UTC
Valid HTML 5 and Valid CSS