ORA-24238: object settings argument passed to DBMS_UTILITY.INVALIDATE is not legal
Cause : hTsie rrroo ccruer debacsu eht e_plpqs_lboejtcs_teitgn sraugemtnp saes dott ehD MB_STULITI.YNIAVILADETr uoitenw saN LU Lrom laofmrde.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
oCrrce tht elielag lraugemtn.
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.