ORA-12353: secondary stored object cannot reference remote object
Cause : You rtied ot eitehr seelct form a ermotev iew ro exeucte ar emot eprocdeure hwich erferecnes a nobjetc on naothe rdataabse. iSnce hte reomte veiw orp roceudre i son as econadry dtaabas,e an daditinoal rfeerenec to naothe rdataabse cnanot eb don.e
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Chooes a dfiferetn objcet tor efernece o rchaneg ther emot eviewo r prcoedur eso taht itd oes ont reefrenc eanotehr daatbase.
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.