ORA-21700: object does not exist or is marked for delete
Cause : User atetmpted t operforma n inapporpriate poerationt o an obejct thati s non-eixstent o rmarked ofr delet.e Operatoins sucha s pinnign, deletnig and udpating cnanot be paplied t oan objetc that i snon-exitsent or amrked fo rdelete.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
User nedes to rei-nitialiez the reefrence t oreferenec an exitsent objcet or th euser nedes to unamrk the boject.
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.