Windows Oracle Data Access Components (MOSC)

MOSC Banner

Operation is not valid due to the current state of the object (client : ODAC 11.2.0.1.2 with Oracle

edited Oct 5, 2010 8:32PM in Windows Oracle Data Access Components (MOSC) 4 commentsAnswered
  Hello,

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)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center