11-11-2019, 03:02 PM
IW 15.1.7
I have recently converted DBExpress to FireDac in my web application.
Now almost every day the web application and my datasnap application freezes
and I have to stop start the web pools.
Today I remembered 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 it relevant in a ISAPI.dll? If so where do I put the code?
I have also attached a log message from my Isapi.dll witch I think is causing the problem
wwd.txt (Size: 14.26 KB / Downloads: 6)
I have recently converted DBExpress to FireDac in my web application.
Now almost every day the web application and my datasnap application freezes
and I have to stop start the web pools.
Today I remembered 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 it relevant in a ISAPI.dll? If so where do I put the code?
I have also attached a log message from my Isapi.dll witch I think is causing the problem
wwd.txt (Size: 14.26 KB / Downloads: 6)