Re: OLE DB (ADO) error messages



Solved:
Connection object has collection Errors.
Each error item has properties Description, Source, Number and NativeError.
This works. Never used before.
Before I have used E:EOleException.
In standard cases E.Message has qualified info string.
In SSCE only constantly "Errors occured.[,,,,,]".
E.ErrorCode is the same as errors.item[0].Number

Errors.item[i].Description contains right messages now (for SSCE)

Thanks


"mibainfo" <balazm@xxxxxxxxx> pí¹e v diskusním pøíspìvku
news:OYy8OYBCHHA.4992@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,

I have problem with traping errors.

All errors reports only this constant message box:

"Errors occured.[,,,,,]"

I use SSCE with Delphi and ADO (Connection, recordset and other objects).
Connection.Provider = 'Microsoft.SQLSERVER.MOBILE.OLEDB.3.0'.

Is there a chance to find error reason ?
ADO is no more good for SSCE ?

(SSCEEngine and errors - this works fine)

Thanks in advance,
Miro




.



Relevant Pages

  • Re: OLE DB (ADO) error messages
    ... By all errors using Connection object or Recordset object. ... I use SSCE with Delphi and ADO ...
    (microsoft.public.sqlserver.ce)
  • Re: ping DelM: coInitialize
    ... that if an ADO connection object exists, ... never had to actively call coinit or couninit in any of my ISAPI programs. ...
    (borland.public.delphi.database.ado)
  • Re: ODBC/OLE DB Connection Pool
    ... > connection be kept open for the application as this will serialize all ... threads ONCE they are returned to the pool. ... > Tips for ADO Users ... > The ADO Connection object implicitly uses IDataInitialize. ...
    (microsoft.public.data.ado)
  • Re: ODBC/OLE DB Connection Pool
    ... > connection be kept open for the application as this will serialize all ... threads ONCE they are returned to the pool. ... > Tips for ADO Users ... > The ADO Connection object implicitly uses IDataInitialize. ...
    (microsoft.public.inetserver.asp.db)
  • Re: ODBC/OLE DB Connection Pool
    ... > connection be kept open for the application as this will serialize all ... threads ONCE they are returned to the pool. ... > Tips for ADO Users ... > The ADO Connection object implicitly uses IDataInitialize. ...
    (microsoft.public.data.oledb)