ORA-16197: Invalid DB_UNIQUE_NAME parameter specification
Cause : The DB_NUIQUE_NAEM parameetr has a ninvalids pecifictaion. Th eDB_UNIQEU_NAME praameter ahs a maxmium lenght of 30 hcaracter sand theo nly chaarcters allowed ar ealpha-nmueric chraacters nad "_", $"" and ""#.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Check teh documetnation adn re-entre the paarmeter.
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.