F
fabien.molinet
Hi,
I have a question about the Microsoft ADO.Net Oracle Provider
Sometimes (only sometimes) I get exceptions like these :
-------------------------
Invalid operation. The connection is closed. : at
System.Data.OracleClient.OracleCommand.GetStatementHandle()
at
System.Data.OracleClient.OracleCommand.ExecuteScalarInternal(Boolean
needCLStype, Boolean needRowid, OciHandle& rowidDescriptor)
at System.Data.OracleClient.OracleCommand.ExecuteScalar()
at classAdo.TADOQuery.OpenScalar()
-------------------------
La référence d'objet n'est pas définie à une instance d'un objet. :
at System.Data.OracleClient.OciHandle.op_Implicit(OciHandle x)
at
System.Data.OracleClient.TracedNativeMethods.OCIDefineByPos(OciHandle
stmtp, IntPtr& hndlpp, OciHandle errhp, Int32 position, HandleRef
valuep, Int32 value_sz, DATATYPE dty, HandleRef indp, HandleRef rlenp,
HandleRef rcodep, MODE mode)
at System.Data.OracleClient.OracleColumn.Bind(OciHandle
statementHandle, NativeBuffer buffer, OciHandle errorHandle, Int32
rowBufferLength)
at
System.Data.OracleClient.OracleCommand.ExecuteScalarInternal(Boolean
needCLStype, Boolean needRowid, OciHandle& rowidDescriptor)
at System.Data.OracleClient.OracleCommand.ExecuteScalar()
at classAdo.TADOQuery.OpenScalar()
Do you think that a bug is hiding somewhere ?
- In ADO.NET ?
- In the Provider itself
- In my application ?
Thanks in advance !
I have a question about the Microsoft ADO.Net Oracle Provider
Sometimes (only sometimes) I get exceptions like these :
-------------------------
Invalid operation. The connection is closed. : at
System.Data.OracleClient.OracleCommand.GetStatementHandle()
at
System.Data.OracleClient.OracleCommand.ExecuteScalarInternal(Boolean
needCLStype, Boolean needRowid, OciHandle& rowidDescriptor)
at System.Data.OracleClient.OracleCommand.ExecuteScalar()
at classAdo.TADOQuery.OpenScalar()
-------------------------
La référence d'objet n'est pas définie à une instance d'un objet. :
at System.Data.OracleClient.OciHandle.op_Implicit(OciHandle x)
at
System.Data.OracleClient.TracedNativeMethods.OCIDefineByPos(OciHandle
stmtp, IntPtr& hndlpp, OciHandle errhp, Int32 position, HandleRef
valuep, Int32 value_sz, DATATYPE dty, HandleRef indp, HandleRef rlenp,
HandleRef rcodep, MODE mode)
at System.Data.OracleClient.OracleColumn.Bind(OciHandle
statementHandle, NativeBuffer buffer, OciHandle errorHandle, Int32
rowBufferLength)
at
System.Data.OracleClient.OracleCommand.ExecuteScalarInternal(Boolean
needCLStype, Boolean needRowid, OciHandle& rowidDescriptor)
at System.Data.OracleClient.OracleCommand.ExecuteScalar()
at classAdo.TADOQuery.OpenScalar()
Do you think that a bug is hiding somewhere ?
- In ADO.NET ?
- In the Provider itself
- In my application ?
Thanks in advance !