Tag Archives: ORA-24338 error

ORA-24338 statement handle not executed [How to Solve]

Today I received a mail from the developer that the program occasionally reports an error when calling a function, but most of the time it is normal, the specific error is as follows:
12/8/2010 5:54:34 PM – Checking MERGED DFMS with Servicetag [128QPN1]
12/8/2010 5:54:34 PM – Creating Dataset
12/8/2010 5:54:34 PM – Initializing WebReference
12/8/2010 5:54:34 PM – Web reference creted, calling GetSn option
12/8/2010 5:54:34 PM – WS returned: ORA-24338: statement handle not executed
12/8/2010 5:54:34 PM – Try to fill out the datagrid with the first table
12/8/2010 5:54:34 PM – Exception Caught:System.NullReferenceException: Object reference not set to an instance of an object.
at TEST_DFMS.Form1.button4_Click(Object sender, EventArgs e)

ORA-24338 statement handle not executed

Cursor not executed

Cause: A fetch or describe was attempted before executing a statement handle.
Fetching from above without executing a cursor

Action: Execute a statement and then fetch or describe the data.
Do a good job of exception control, if the analysis or execution of the error to do a good job of exception control, php, jsp pages are easier to handle when the error.