Subject | Re: [firebird-support] intermittent errors with what seems to be server speed issues? |
---|---|
Author | Aage Johansen |
Post date | 2009-07-21T21:26:38Z |
bwc3068 wrote:
from atable". the source level query is persistent and has all the
fields in it at the source code level (ie. they're created in source
and in the query ie. persistent).
log whatever information it provides. It will be something like:
procedure TDM1.qrYOURQUERYError( Sender : TObject;
const ERRCODE : integer;
ErrorMessage,
ErrorCodes : TStringList;
const SQLCODE : integer;
SQLMessage,
SQL : TStringList;
var RaiseException : boolean);
... ...
Write all values to a log file and have the customers send it to you
- maybe you'll find something of interest.
If a customer van provoke the error, you could provide him with some
facility to turn on a trace (IBO feature).
I haven't used D6 + Fb/2.1 + IBO/4.8.7 myself, you could try asking
the the IBO list (egroups.ibobjects)
--
Aage J.
ps
I don't think "speed issue" is the issue here ...
> ...Violation errors OR "dynamic SQL error -206 unknown column".
> what is it: random errors returned and they are usually Access
>example "K-000") AND my SQL to fetch the query is always "select *
> the column named in the error is never a column in the table (for
from atable". the source level query is persistent and has all the
fields in it at the source code level (ie. they're created in source
and in the query ie. persistent).
> ...You could try to use the onError event for the query (or queries) and
log whatever information it provides. It will be something like:
procedure TDM1.qrYOURQUERYError( Sender : TObject;
const ERRCODE : integer;
ErrorMessage,
ErrorCodes : TStringList;
const SQLCODE : integer;
SQLMessage,
SQL : TStringList;
var RaiseException : boolean);
... ...
Write all values to a log file and have the customers send it to you
- maybe you'll find something of interest.
If a customer van provoke the error, you could provide him with some
facility to turn on a trace (IBO feature).
I haven't used D6 + Fb/2.1 + IBO/4.8.7 myself, you could try asking
the the IBO list (egroups.ibobjects)
--
Aage J.
ps
I don't think "speed issue" is the issue here ...