I have a single threaded Firedac (SQL Server) application that is sometimes producing the error below.
Connection is busy with results for another hstmt.
This error mostly happens on queries that are run on a timer (TTimer). Is there a way of asking the FDConnection which dataset is blocking the connection?
I have scoured my code looking for TFDQueries that do not fetch all data or have AutoClose set to False. We do allow multiple recordsets (using NextRecordSet) so maybe this is causing this error?
Many thanks!