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 : 27-05-2017
ORA-22341

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

  • ora-01470 : In-list iteration does not support mixed operators
  • ora-13451 : GeoRaster metadata scaling function error
  • ora-28113 : policy predicate has error
  • ora-01603 : illegal grouping size in clause "string" of string
  • ora-06979 : X.25 Driver: server cannot start oracle
  • ora-01511 : error in renaming log/data files
  • ora-31617 : unable to open dump file "string" for write
  • ora-30393 : a query block in the statement did not rewrite
  • ora-27478 : job "string.string" is running
  • ora-02804 : Allocation of memory failed for log file name
  • ora-39081 : failed to unsubscribe agent string from queue "string"
  • ora-06307 : IPA: Cannot reset connection
  • ora-34344 : (MXDSS03) Analytic workspace string is not attached.
  • ora-01675 : max_commit_propagation_delay inconsistent with other instances
  • ora-31162 : element or attribute "string" has no SQLType specified
  • ora-26566 : Couldn't open connect to string
  • ora-04045 : errors during recompilation/revalidation of string.string
  • ora-13369 : invalid value for etype in the 4-digit format
  • ora-24184 : transformation string.string already exists
  • ora-23352 : duplicate destination for deferred transaction
  • ora-40217 : priors table mismatched with training data
  • ora-24164 : invalid rule engine system privilege: string
  • ora-31029 : Cannot bind to unsaved resource
  • ora-39083 : Object type string failed to create with error: string Failing sql is: string
  • ora-02355 : error opening file: string
  • ora-02234 : changes to this table are already logged
  • ora-24058 : cannot downgrade QUEUE_TABLE that has propagation in a prepared state
  • ora-02209 : invalid MAXTRANS option value
  • ora-32345 : fail to refresh the materialized view string.string due to the changed synonym
  • ora-32102 : invalid OCI handle
  • 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.