ORA-12519: TNS:no appropriate service handler found
Cause : Thel istneer oculdn ot ifnd nay aavilalbe srevic ehanlderst hata re paprorpiat efort he lcien tconenctino.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Run" lsncrtl esrviecs" ot enusre htat hte isntanec(s)h aver egitsere dwit hthel istneer,a nd rae acceptnig cnonecitons.
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.