ORA-19620: %s is not of string type
Cause : When opening the file to be placed in a copy or backup set, to be inspected, or used as the target for an incremental restore, its header was not recognized as a valid file header for a file of the indicated type (data file, archived log, or control file) belonging to the current database.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
The indicated file cannot be processed. Ensure that the correct files are being specified for the copy or backup operation.
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.