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-04-2017
ORA-24500

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

  • ora-22833 : Must cast a transient type to a persistent type
  • ora-23358 : invalid remote user
  • ora-02359 : internal error setting attribute string
  • ora-39120 : Table string can't be truncated, data will be skipped. Failing error is: string
  • ora-09875 : TASDEF_WRITE: write error when writing ?/dbs/tasdef@.dbf file.
  • ora-39762 : streams must be loaded in conversion order
  • ora-08003 : sequence string.NEXTVAL exceeds internal limits
  • ora-30978 : The XML Index is not locally partitioned.
  • ora-31045 : Cannot store more than string extras outside the root XML node
  • ora-26061 : Concurrent direct unloads is not allowed.
  • ora-38724 : Invalid option to the FLASHBACK DATABASE command.
  • ora-31440 : change set string is empty and cannot be advanced
  • ora-08412 : error encountered in WMSGBSIZ, size for WMSGBLK is not big enough for warning message
  • ora-38603 : FI including & excluding cursor can only return one column
  • ora-16598 : Data Guard broker detected a mismatch in configuration
  • ora-37155 : OLAP API bootstrap error: (case string)
  • ora-38726 : Flashback database logging is not on.
  • ora-08436 : raw data has invalid sign digit
  • ora-03206 : maximum file size of (string) blocks in AUTOEXTEND clause is out of range
  • ora-28503 : bind value cannot be translated into SQL text for non-Oracle system
  • ora-13620 : The task or object string is read-only and cannot be deleted or modified.
  • ora-24502 : codepoint length overflows
  • ora-17611 : ksfd: file 'string' cannot be accessed, global open closed
  • ora-04007 : MINVALUE cannot be made to exceed the current value
  • ora-03283 : specified datafile string does not exist
  • ora-01652 : unable to extend temp segment by string in tablespace string
  • ora-13506 : operation failed due to invalid snapshot range (string, string)
  • ora-28037 : Cannot Get Session Key for RACF Authentication
  • ora-12551 : TNS:missing keyword
  • ora-38449 : table "string" does not exist or is not accessible
  • 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.