ORA-19241: XP0021 - cast to type string failed

Cause : hT eavul eniiseda c sa txerpseisnoc uodln tob eactst oht eeruqridet py.e

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

iF xht eniup tott ehc sa txerpseisnot oebo f aactsbaelt py.e

update : 28-06-2017
ORA-19241

ORA-19241 - XP0021 - cast to type string failed
ORA-19241 - XP0021 - cast to type string failed

  • ora-31082 : invalid attribute "string" specified in declaration of "string"
  • ora-27161 : request for Oracle binary information failed
  • ora-01167 : two files are the same file/group number or the same file
  • ora-37122 : AW Session cache disabled
  • ora-13212 : failed to compare tile with the window object
  • ora-30163 : The thread safety initialization failed
  • ora-01681 : max # extents (string) reached in LOB segment in tablespace string
  • ora-39168 : Object path string was not found.
  • ora-00288 : to continue recovery type ALTER DATABASE RECOVER CONTINUE
  • ora-02798 : Invalid number of requests
  • ora-22925 : operation would exceed maximum size allowed for a LOB value
  • ora-09966 : falure in translation while expanding ?/dbs/lk for lock file
  • ora-04099 : trigger 'string' is valid but not stored in compiled form
  • ora-00392 : log string of thread string is being cleared, operation not allowed
  • ora-07609 : szprv: $HASH_PASSWORD failure
  • ora-30152 : File does not exist
  • ora-29839 : failed to validate implementation type
  • ora-06255 : NETNTT: cannot read pid of remote process
  • ora-19263 : XQ0043 - duplicate namespace prefix string
  • ora-00030 : User session ID does not exist.
  • ora-23439 : refresh group template already exists
  • ora-06765 : TLI Driver: error awaiting orderly release
  • ora-02427 : create view failed
  • ora-01604 : illegal number range in clause "string" of string
  • ora-32601 : value for retention cannot be provided
  • ora-16725 : the phase supplied to resource guard is invalid
  • ora-00020 : maximum number of processes (string) exceeded
  • ora-28522 : error initializing heterogeneous capabilities
  • ora-13361 : not enough sub-elements within a compound ETYPE
  • ora-19332 : Invalid column in the CREATE_DBURI operator
  • 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.