In this blog post, you’ll learn more about the Sybase Error Too many open cursors and the reason for receiving this error
Sybase SQL Error Message
Too many open cursors
Reason for this Error
You exceeded the number of cursors that can be open on a single UltraLite database. Check to ensure you are freeing statements when you are done with them.