21 March 2019

Restore Problem "Restore-SPSite : The extension

Next article - User's responsibility only!

Years ago, I saw something in one of the blogs ... but I did not find any mention of it today (maybe Microsoft asked to delete the article because ...).


I tried to migrate a DataBase between two environments, but I was told the versions did not match. Probably updates winsows

Then I'll try through the power shell

restore-spacesite

But I got the following error

Restore Problem "Restore-SPSite: The extension Microsoft.Office.Project.Server.Database.Extension.ProjectDatabaseExtension is version VVVV, and the backup was on version VVV These versions are incompatible.



So what did I do?

Do a backup before ... may be you will need it

I opened the file in binary editor. In Visual Studio -> open file


Open With


Open as binary file editor



And find the wrong virsion



Now replace the number to your current virsion

And try to run the command again (Restore-SPSite)

For me it work ... hope for you too ... if you did not return the backup