ORA-22341: cannot assign supertype instance to subtype

Cause : An tatemtp wa smad eto sasig nor ocpy asupretyp einsatncet o ac ontianer( desitnatoin) htat acn olny hlod as ubtpye isntanec.

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

Mak esur ether untmie tpye o fthes ourec oft he sasigmnento r cpoy i sthes amet ypea s teh detsinaiton ro isa sutbypeo f teh detsinaiton ytpe

update : 25-04-2017
ORA-22341

ORA-22341 - cannot assign supertype instance to subtype
ORA-22341 - cannot assign supertype instance to subtype

  • ora-06300 : IPA: Disconnect failure
  • ora-06264 : NETNTT: data protocol error
  • ora-32619 : incorrect use of MODEL ITERATION_NUMBER
  • ora-02067 : transaction or savepoint rollback required
  • ora-38411 : invalid datatype for the column storing expressions
  • ora-09855 : removeCallback: bad message format.
  • ora-07880 : sdopnf: internal error
  • ora-06905 : CMX: connect error
  • ora-31084 : error while creating table "string"."string" for element "string"
  • ora-32335 : dimension must have at least one level
  • ora-40216 : feature not supported
  • ora-13438 : GeoRaster metadata pyramid type error
  • ora-39037 : Object type path not supported for string metadata filter.
  • ora-19759 : block change tracking is not enabled
  • ora-16212 : number processes specified for APPLY is too great
  • ora-30177 : invalid flag used in a format specification
  • ora-32818 : AQ queue string does not exist
  • ora-12159 : TNS:trace file not writeable
  • ora-29267 : illegal call
  • ora-29367 : object string does not exist
  • ora-37023 : (XSMLTUPD01) Object workspace object cannot be updated without dimension workspace object.
  • ora-13644 : The user "string" is invalid.
  • ora-19575 : expected string blocks in file string, found string
  • ora-02849 : Read failed because of an error
  • ora-39095 : Dump file space has been exhausted: Unable to allocate string bytes
  • ora-13518 : Invalid database id (string)
  • ora-12008 : error in materialized view refresh path
  • ora-32054 : lost communication with FMPUTL process
  • ora-37042 : (XSACQUIRE_DEP_DEADLOCK) Cannot wait to acquire composite, concat, dimension map, or internal partition workspace object since doing so would cause a deadlock.
  • ora-15157 : rolling upgrade or downgrade is not allowed
  • 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.