G
Guest
Hi - getting the following error occasionally - does not seem to be tied to
any particular user activity - this and the lack of a stack trace that goes
back into my code leads me to suspect that it is due to garbage collection.
I'm not explicitly doing any disposing and I am using connection pooling. The
..Net data provider is IBM Informix 2.81 - I realise that is not really
anything to do with Microsoft but I wonder if anyone can give me any clues or
guidance - should I be explicitly disposing of classes that open database
connections, should I turn connection pooling off ?
Here's the error
Exception Source: IBM.Data.Informix
Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an object.
Exception Target Site: SQLFreeHandle
---- Stack Trace ----
IBM.Data.Common.Ifx32.SQLFreeHandle(HandleType As Int16, StatementHandle
As IntPtr)
FTelesales.exe: N 00000
IBM.Data.Informix.CMDWrapper.DismissStatement(disposing As Boolean)
FTelesales.exe: N 00827
IBM.Data.Informix.CMDWrapper.Finalize()
FTelesales.exe: N 00028
any particular user activity - this and the lack of a stack trace that goes
back into my code leads me to suspect that it is due to garbage collection.
I'm not explicitly doing any disposing and I am using connection pooling. The
..Net data provider is IBM Informix 2.81 - I realise that is not really
anything to do with Microsoft but I wonder if anyone can give me any clues or
guidance - should I be explicitly disposing of classes that open database
connections, should I turn connection pooling off ?
Here's the error
Exception Source: IBM.Data.Informix
Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an object.
Exception Target Site: SQLFreeHandle
---- Stack Trace ----
IBM.Data.Common.Ifx32.SQLFreeHandle(HandleType As Int16, StatementHandle
As IntPtr)
FTelesales.exe: N 00000
IBM.Data.Informix.CMDWrapper.DismissStatement(disposing As Boolean)
FTelesales.exe: N 00827
IBM.Data.Informix.CMDWrapper.Finalize()
FTelesales.exe: N 00028