ORA-24338: statement handle not executed
717613Aug 17 2009 — edited Aug 17 2009Hello EveryOne,
I am getting the following error "Oracle.DataAccess.Client.OracleException ORA-24338: statement handle not executed" while trying to get records from Oracle *10g* database.
I am using .Net framework 2.0 and the langugae used is C#.
Here I am using Enterprise Library 2.0 for data access operations.
Also let me know whether we can use Enterprise Library 2.0 for dataaccess operations or not.
The code works fine If I don't use Enterprise Library.
This is the code I am using.
Database dbConnection = DatabaseFactory.CreateDatabase("Oracl");
DbCommand dbCommand =dbConnection.GetSqlStringCommand
("SELECT col1,col2,col3 FROM TestTable");
DataSet dsData = new DataSet();
dsData = dbConnection.ExecuteDataSet(dbCommand); --> I am getting error at this place.
Can anyone please help me out.
Please reply at the earliest.
Thanks,
Edited by: user8727158 on Aug 16, 2009 11:15 PM