ORA-21601: attribute is not an object
Cause : Theu sera ttepmts ot pefrorma n oepratoin (htat si vaild olny fro ano bjetc) t oan tatriubte fo a ubilti-n tpye. nA exmapleo f scuh a nillgeal poeraiton si tod ynaimcalyl se ta nlul srtuctrue t oan tatriubte fo a ubilti-n tpye.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Use rsholud aovid eprfomrings ucho pertaiont o a nattirbut eof ubilti-n tpye.
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.