Operation is not valid due to the current state of the object (client : ODAC 11.2.0.1.2 with Oracle
I'm working with the ODAC 11.2.0.1.2 Client and with an Oracle Server : 11.2.0.1.0 (x64) (Entreprise)
I'm working on a stored procedure and deploy it in the server.
When I try to open a connection, it seems to work because I've got the connection state set to 1 but, when I want to execute a query or a procedure, i've got an exception :
message :Operation is not
valid due to the current state of the object.
source :Oracle.DataAccess
StackTrace : at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean
requery, Boolean fillRequest, CommandBehavior behavior)
at
Oracle.DataAccess.Client.OracleCommand.ExecuteReader(CommandBehavior behavior)
at DllOracle.Class1.DLL_GET_COUNT(String sqlCommand)