You attempted to use a cursor that is not in a valid state for the attempted operation. For example, the cursor may have
encountered an error. In UltraLite, this error occurs if you attempt to set parameters for a prepared statement while a result
set (cursor) is open for the statement.