Search found 11 matches
- 10.05.2010, 21:26
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Firebird 2.1 embedded, -501 error in FreeStatment()
- Replies: 9
- Views: 893
- 10.05.2010, 16:54
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Firebird 2.1 embedded, -501 error in FreeStatment()
- Replies: 9
- Views: 893
- 08.05.2010, 04:40
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Firebird 2.1 embedded, -501 error in FreeStatment()
- Replies: 9
- Views: 893
Here's a log file from the SQL monitor, showing the user connecting to the database, activating a query that is associated with an MDI parent form, activating a query that is associated with a new MDI child form, inserting a record by means of a DevExpress grid control on the child form, then closin...
- 07.05.2010, 22:58
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Firebird 2.1 embedded, -501 error in FreeStatment()
- Replies: 9
- Views: 893
To clarify further: Simply opening the form and activating the ZQuery, and then immediately deactivating the ZQuery and closing the form is no problem. Only if rows are inserted or deleted does closing the form cause the -501 error. That's a pretty good indication that there's something fishy with c...
- 07.05.2010, 21:43
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Firebird 2.1 embedded, -501 error in FreeStatment()
- Replies: 9
- Views: 893
More info: There's something fishy going on when a ZQuery is deactivated, and TZCachedResultSet.Close() is called. I am just learning the architecture of ZEOS, so things are a bit confusing... I have ZQuery.CachedUpdates = false, so why is there even a TZCachedResultSet present in the first place? I...
- 06.05.2010, 20:57
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Firebird 2.1 embedded, -501 error in FreeStatment()
- Replies: 9
- Views: 893
- 06.05.2010, 17:33
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Firebird 2.1 embedded, -501 error in FreeStatment()
- Replies: 9
- Views: 893
- 04.05.2010, 20:16
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Firebird 2.1 embedded, -501 error in FreeStatment()
- Replies: 9
- Views: 893
Firebird 2.1 embedded, -501 error in FreeStatment()
Hi everyone-- I'm using Delphi 2009 to compile an app that uses ZEOS to access a Firebird DB through the Firebird 2.1 embedded client. I'm dynamically building a ZQuery and ZUpdateObject to read and write to a table whose name and fields are unknown until the user sets a few things. So far, the crea...
- 27.03.2010, 17:36
- Forum: Firebird
- Topic: zeos7, store procedure y firebird error -501
- Replies: 11
- Views: 1432
Finishing up -- the root problem was that I was stupidly storing some XML in a VARCHAR field that was 16Kb long, instead of in a BLOB, and the row length overflowed. This must have been the root cause of the error that prevented the prepare, and thus prevented the connect (since I was activating the...
- 27.03.2010, 17:15
- Forum: Firebird
- Topic: zeos7, store procedure y firebird error -501
- Replies: 11
- Views: 1432
OK, things have progressed a bit... I moved the ZEOS components out of a data module I had set up, and placed them on my main form, and the error messages changed. Whereas before the debugger refused to step down into the ZConnection.Connect call, now apparently the connection succeeded -- revealing...
- 27.03.2010, 05:39
- Forum: Firebird
- Topic: zeos7, store procedure y firebird error -501
- Replies: 11
- Views: 1432
I'm seeing the same error message
I'm seeing the same error message, using Firebird embedded 2.1 and Delphi 2009. I'm trying to activate a ZQuery, which is configured with SQL.Text = 'Select * from vConfig'. vConfig is a view with permissions set so that only a specific role can select from it -- and I've got the rolename parameter ...