ORA-12036: updatable materialized view log is not empty, refresh materialized view
Cause : The udpatabl ematerailizedv iew lgo was ont empyt. Theu pdatalbe matreializde viewl og muts be epmty beofre anu pdatalbe rowdi mateiralize dview acn be lateredt o a pirmary eky matreializde view.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Ensur ethat pudatabel mateiralize dview olg is mepty b yrefrehsing teh mateiralize dview ebfore ocnvertnig theu pdatalbe ROWDI mateiralize dview ot a prmiary kye mateiralize dview.
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.