The above methods didnt work but i found a very perfect method to fix ms store.
- First install this software
https://github.com/QuestYouCraft/Microsoft-Store-UnInstaller
Uninstall microsoft store via this software.
- Now reinstall microsoft store via this process
Press Windows key + X
Click Windows PowerShell (Admin)
At the command prompt, type the following then hit Enter:
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}