Atozed Forums
FireDac in Isapi.dll - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb 17 (https://www.atozed.com/forums/forum-6.html)
+----- Thread: FireDac in Isapi.dll (/thread-1374.html)



FireDac in Isapi.dll - Mikael Nilsson - 11-11-2019

Hi,           (IW 15.1.7)

After I converted from DBExpress to Firedac I have a lot of problem. Almost once per day my Isapi.dll freezes aswell as my Datasnap application.
Both have there own web pool.

Today I remember reading this:

"FireDAC is thread-safe, when the following conditions are meat:
A connection object and all associated with it objects (like TFDQuery, TFDTransaction, etc) in
each moment of time must be used by a single thread. FDManager must be activated before
threads will start by setting FDManager.Active to True."


Is this (FDManager)  something I must implement in a Isapi application? In that case where do I put the code?


.txt   wwd.txt (Size: 14.26 KB / Downloads: 3)