Hi Mohammed,
When you first time installed SAP B1 Ver 8.8.2 , then upgraded to Ver 9.0 . At that time you created a company as ABC .then Our server crashed. Then you changed the Hard disk and newly installed SAP B1 9.0 . Now you created new DB as XYZ . Have you upgrade the patch,if you have upgrade then take the backup of ABC db & create new DB in SQl And restore the backup .after restore try to upgrade the db from PL.
Rgds,
Kamlesh Naware