[freetds] Invalid Cursor State

James K. Lowden jklowden at freetds.org
Sun Nov 13 09:54:48 EST 2005


Frediano Ziglio wrote:
> Il giorno sab, 12/11/2005 alle 23.39 +0100, Trælnes AS ha scritto:
> > 
> > [ODBC][9136][SQLExecute.c][354]
> >                 Exit:[SQL_ERROR]
> >                 DIAG [24000] [FreeTDS][SQL Server]Invalid cursor state
> 
> This can be caused by application trying do use 2 active statement on
> same connection (like a select and an update together) or if application
> do not close correctly statement (not getting all data).

If you can reproduce the problem with a limited test, a TDSDUMP log will
show whether or not your application is making the mistakes Frediano
cites.  

--jkl



More information about the FreeTDS mailing list