ORA-21301: not initialized in object mode

Cause : This function requires the OCI process to be initialized in object mode.

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

Specify OCI_OBJECT mode when calling OCIInitialize().

update : 25-06-2017

ORA-21301 - not initialized in object mode
ORA-21301 - not initialized in object mode

  • ora-06550 : line string, column string: string
  • ora-38499 : expression set already configured for stored/indexed attributes
  • ora-30020 : UNDO_MANAGEMENT=AUTO needs Compatibility string or greater
  • ora-13149 : failed to generate next sequence number for spatial table string
  • ora-39038 : Object path "string" is not supported for string jobs.
  • ora-12168 : TNS:Unable to contact LDAP Directory Server
  • ora-00452 : foreground process unexpectedly terminated with error string
  • ora-32341 : The EXPLAIN_MVIEW facility failed to explain the materialized view "string"."string"
  • ora-38458 : invalid operation "string" for XPATH_FILTER_PARAMETERS
  • ora-02398 : exceeded procedure space usage
  • ora-06565 : cannot execute string from within stored procedure
  • ora-38955 : Source platform string not cross platform compliant
  • ora-23473 : replication RPC processing for "string"."string" is disabled
  • ora-12014 : table 'string' does not contain a primary key constraint
  • ora-01113 : file string needs media recovery
  • ora-02277 : invalid sequence name
  • ora-26532 : replication parallel push simulated site failure
  • ora-02199 : missing DATAFILE/TEMPFILE clause
  • ora-00267 : name of archived log file not needed
  • ora-16186 : Modifying LOG_ARCHIVE_CONFIG requires SID='*' qualifier
  • ora-19011 : Character string buffer too small
  • ora-26027 : unique index string.string partition string initially in unusable state
  • ora-16590 : Data Guard configuration does not contain a primary database
  • ora-13840 : Concurrent DDL Error in create SQL profile operation.
  • ora-14176 : this attribute may not be specified for a hash partition
  • ora-19117 : invalid redefinition of predefined namespace prefix 'string'
  • ora-02324 : more than one column in the SELECT list of THE subquery
  • ora-02333 : cannot create constraints on attributes of this column
  • ora-01902 : SEGMENT keyword expected
  • ora-01864 : the date is out of range for the current calendar
  • 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.