[Zope-DB] Invalid Cursor State

Liart Junior liart.junior@websolucoes.com.br
Mon, 23 Jun 2003 22:02:40 -0300


I'm using Zope 2.6.1 (Win32 Plataform) with ZODBCDA to connect to a MS Sql
2000 Server and I get the message:

Error Type: sql.error
Error Value: ('24000', 0, '[Microsoft][ODBC SQL Server Driver]Invalid cursor
state')

When I debug de db.py of ZODBCDA Product, the error occurr because the
command SQLFreeStmt stay commented. When I remove the '#' occur the folowing
error:

Error Type: RuntimeError
Error Value: external method could not be called because it is None

Can anyone help me?
Have other way to connect to SQL 2000?

Tks

LJ