Firebird error message "Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements"

Harriv picture Harriv · Oct 18, 2012 · Viewed 20.3k times · Source

My application generates sometimes this kind of errors when accessing Firebird database:

Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements GDS Code: 335544726 - SQL Code: -902 - Error Code: 406'

What could be the problem? Is there any way to debug this?

I'm running Firebird 2.5.1 on Windows 7. There are at least kinterbasdb with Python and UIB components with Delphi in use.

Answer

Harriv picture Harriv · Oct 19, 2012

Looks like the reason for this was using same connection/transaction from multiple threads.