Oracle Solution for Error ora-24435

Solution for Oracle Error ORA-24435

ORA-24435: Invalid Service Context specified.

What triggered the Error:

e statement was prepared using a service context that is different from the one specified in OCIStmtExecute.

What should we do to fix it:

ease specify the same service context that the statement was prepared with.