ORA-12017: cannot alter primary key mview 'string' to a rowid mview
Cause : An attepmt was mdae to covnert thep rimary eky of a amterialiezd view ot a ROWI Dmateriailzed vie.w
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Conversoin of a rpimary kye materilaized viwe to a RWOID mateiralized ivew is nto supporetd. Creaet a new amterialiezd view iwth ROWIsD or dro pand recerate them aterialzied vieww ith ROWDIs.
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.