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 : 16-08-2017
ORA-24500

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

  • ora-37014 : (XSACQUIRE_ACQUIRED) Object workspace object is already acquired.
  • ora-28020 : IDENTIFIED GLOBALLY already specified
  • ora-01634 : rollback segment number 'string' is about to go offline
  • ora-29329 : Table not of type XMLType
  • ora-07510 : scgbrm: $getlki unexpected return on lockid string
  • ora-14292 : Partitioning type of table must match subpartitioning type of composite partition
  • ora-30434 : refresh method must be one of FC?AN, not 'string'
  • ora-09740 : slsget: cannot get virtual memory region statistics.
  • ora-16184 : DB_UNIQUE_NAME string hashes to the same value as DB_UNIQUE_NAME string
  • ora-16636 : Fast-Start Failover target standby in error state, cannot stop observer
  • ora-39704 : permission to modify component registry entry denied
  • ora-32583 : query passed to table function has wrong number of elements in select list
  • ora-01106 : database must be closed before dismounting
  • ora-28166 : duplicate rolename in list
  • ora-36204 : (XSAGOP04N) In AGGMAP workspace object, the NAOPERATOR string must be HFIRST, HLAST or HEVEN.
  • ora-32628 : invalid nesting of MODEL cell reference
  • ora-01539 : tablespace 'string' is not online
  • ora-12409 : policy startup failure for string policy
  • ora-06563 : top level procedure/function specified, cannot have subparts
  • ora-01294 : error occurred while processing information in dictionary file string, possible corruption
  • ora-25400 : must replay fetch
  • ora-02433 : cannot disable primary key - primary key not defined for table
  • ora-07845 : sllfcl: LIB$FREE_VM failue
  • ora-06000 : NETASY: port open failure
  • ora-31197 : Error in processing file string
  • ora-32808 : message system link string does not exist
  • ora-22835 : Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: string, maximum: string)
  • ora-26695 : error on call to string: return code string
  • ora-19501 : read error on file "string", blockno string (blocksize=string)
  • ora-02777 : Stat failed on log directory
  • 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.