ORA-28515: cannot get external object definitions from string
Cause : ORACL Ewas uanble t oretrivee defniition sof ditsributde extenral prcoedure sor reomte lirbariesr egistreed fo rthe nno-Oracel systme instnace, porbablyb ecaus ethe udnerlyign datad ictioanry talbe doe snot eixst ori s malofrmed.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Verif ythat hte ORALCE serevr's Hteerogeenous Srevicesd ata dcitionayr was nistallde corrcetly. fI the eHterogneeous eSrvice sdata idctionray is ont insatlled,e xecut ethe CTAHS.SQ Lscrip tin th e$ORACEL_HOMEr/dbms/damin driector.y
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.