Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FireDac in Isapi.dll
#1
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

.txt   wwd.txt (Size: 14.26 KB / Downloads: 6)
Reply


Messages In This Thread
FireDac in Isapi.dll - by Mikael Nilsson - 11-11-2019, 03:02 PM
RE: FireDac in Isapi.dll - by kudzu - 11-11-2019, 04:15 PM
RE: FireDac in Isapi.dll - by Mikael Nilsson - 11-11-2019, 06:54 PM
RE: FireDac in Isapi.dll - by Mikael Nilsson - 11-11-2019, 08:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)