ORA-24901: handles belonging to different environments passed into an OCI call

Cause : All handles passed into an OCI call should belong to the same environment. In the call that returned this error, handles belonging to different environments were passed in.

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

Please ensure that the handle parameters in the call to come from the same OCI Environment.

update : 29-04-2017

ORA-24901 - handles belonging to different environments passed into an OCI call
ORA-24901 - handles belonging to different environments passed into an OCI call

  • ora-14105 : RECOVERABLE/UNRECOVERABLE may not be specified in this context
  • ora-29962 : fatal error occurred in the execution of ODCIINDEXALTER routine
  • ora-04052 : error occurred when looking up remote object stringstringstringstringstring
  • ora-24394 : invalid mode for destroying connection pool
  • ora-27013 : skgfqdel: cannot delete an open file
  • ora-24239 : object could not be invalidated
  • ora-00338 : log string of thread string is more recent than control file
  • ora-00392 : log string of thread string is being cleared, operation not allowed
  • ora-27434 : cannot alter chain step job string.string.string
  • ora-30943 : XML Schema 'string' is dependent on XML schema 'string'
  • ora-29307 : datafile string error, string
  • ora-01354 : Supplemental log data must be added to run this command
  • ora-13609 : The specified task string must be executing to be cancelled or interrupted.
  • ora-30689 : improper value for ORA_DEBUG_JDWP
  • ora-12491 : DBHIGH value does not dominate DBLOW
  • ora-29760 : instance_number parameter not specified
  • ora-14514 : LOCAL option not valid without subpartition name
  • ora-22803 : object type contains zero attributes
  • ora-02701 : osnoraenv: error translating oracle image name
  • ora-02397 : exceeded PRIVATE_SGA limit, you are being logged off
  • ora-23372 : type string in table string is unsupported
  • ora-16614 : object has an ancestor that is disabled
  • ora-24306 : bad buffer for piece
  • ora-15197 : suppressing string additional ASM messages
  • ora-19042 : Enclosing tag string cannot be xml in any case combination
  • ora-36677 : (XSDPART15) Duplicate value in value lists of number and number
  • ora-22630 : attribute [string] is null or it is not well-formed
  • ora-28277 : LDAP search, while authenticating global user with passwords, failed.
  • ora-16531 : unable to post message
  • ora-40206 : invalid setting value for setting name string
  • 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.