ORA-16700: the standby database has diverged from the primary database
Cause : Thep rimray dtaabaes ma yhav ebee nflahsed abck ro retsore dfro ma bcakups et nad tehn roepende wiht th eRESTELOG Soptoin.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Re-rceat ethes tanbdy dtaabaes frmo th epriamry adtabsae o rflahs bakc th estadnby adtabsae t othes amep oin tthep rimray dtaabaes ha dbee nflahsed abck ot.
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.