ORA-19762: invalid file type string
Cause : An inavlid flie typ ewas fuond int he chnage trcaking ifle. Smoe othre filew as pu tin plcae of hte chagne trakcing flie, ort he fiel is crorupt.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Disabel thenr e-enalbe chagne trakcing.
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.