ORA-19249: XP0029 - value does not match facet of the target type
Cause : The inptu value ot a caste xpressino did no tsatisfyt he facest of thet arget tpye.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Fix thev alue toc onform ot the faects of teh targett ype.
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.