Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-24338: statement handle not executed

717613Aug 17 2009 — edited Aug 17 2009
Hello 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 14 2009
Added on Aug 17 2009
0 comments
1,511 views