ORA-24500: invalid UTF16 mode

Cause : UTF16 mode is allowed only at environment handle creation time.

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Remove UTF16 mode for functions other than OCIEnvCreate()

update : 29-06-2017
ORA-24500

ORA-24500 - invalid UTF16 mode
ORA-24500 - invalid UTF16 mode

  • ora-28201 : Not enough privileges to enable application role 'string'
  • ora-23451 : flavor string already defined for object group "string"."string"
  • ora-29379 : resource plan string is involved in a loop in top-plan string
  • ora-25316 : Late in the current transaction to begin an Enqueue/Dequeue operation
  • ora-38479 : creation of system trigger EXPFIL_RESTRICT_TYPEEVOLVE failed
  • ora-02334 : cannot infer type for column
  • ora-30371 : column cannot define a level in more than one dimension
  • ora-24413 : Invalid number of sessions specified
  • ora-31018 : Error deleting XML document
  • ora-13799 : threshold not found
  • ora-29957 : cannot create a function-based domain index on a string table
  • ora-16592 : missing field "string" in document
  • ora-14066 : illegal option for a non-partitioned index-organized table
  • ora-13141 : invalid RANGE window definition
  • ora-14137 : Table in partially dropped state, submit DROP TABLE PURGE
  • ora-23375 : feature is incompatible with database version at string
  • ora-08195 : Flashback Table operation is not supported on partitions
  • ora-01548 : active rollback segment 'string' found, terminate dropping tablespace
  • ora-29895 : duplicate base datatype specified
  • ora-01751 : Invalid dump undo option
  • ora-07746 : slemrd: invalid error message file handle
  • ora-16401 : archivelog rejected by RFS
  • ora-29845 : indextype does not support local domain index on string partitioned table
  • ora-00705 : inconsistent state during start up; shut down the instance, then restart it
  • ora-24017 : cannot enable enqueue on QUEUE, string is an exception queue
  • ora-01251 : Unknown File Header Version read for file number string
  • ora-12324 : cannot use the ROM: link type on a private database link
  • ora-12007 : materialized view reuse parameters are inconsistent
  • ora-29549 : class string.string has changed, Java session state cleared
  • ora-27510 : IPC error waiting for a request to complete
  • Oracle Database Error Messages



    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.