The version of the package 14.0.4536.1000 is different from the current version this program supports, 14.0.4762.1000

I was thinking to post this and a lot of other posts on my blog but due to some personal reasons and work I was not able to so, Well last month I had to restore a site sub site from SharePoint 2010 beta to SharePoint 2010 Final as a root site. So happily I created a New Web Application and a Site Collection and fired up the Import-SPweb CMDLets via PowerShell. But to my surprise I ended up with the following error.

“The version of the package 14.0.4536.1000 is different from the current version this program supports, 14.0.4762.1000.”

Hmm, so seems like Microsoft blocks direct migration/upgrade from SP2010 Beta to Final. Well I thought of giving the old Hacking the backup file a try and see if that can help me get past this and restore the site and carry on with my work.

Note:- I’m assuming you know how to backup/export a SharePoint Site if not let me know will post an article on the same.

To easily hack the SharePoint Backup file you will need the following:-

1. Winrar [You can download the Trial Version from here]

2. CabPack 1.4 []

Once you have downloaded the above two apps, we are ready to hack the SharePoint backup file called CMP [Content Management Pacakge].

1. Install Winrar, and change the extension of the backup file to .rar and extract the file to any folder. There are other options commands to uncompress the backup file, but I found this easiest and quickest.

2. You should have multiple files in extracted folder. Similar to the below image, what we are interested here is the SystemData.xml file.

3. Open the SystemData.xml, and replace the build version from 14.0.4536.1000 to 14.0.4762.1000, save & close the file.

4. Now extract CabPack and fire up CABPACK.EXE, Click on browse for source dir or file and locate the folder where you had extracted the SharePoint site

[Note: – Do not click on any file in the Right Side box, just click on the folder or else it will pack only the selected file]

5. After selecting the Source, browse and select the Destination folder. Type on the name of the file in the CabinetName Template

6. That’s it, Click Ok and your hacked backup file is compressed and ready to be restored. Would suggest you do not change any other settings if you do not know what you are doing.

7. So now if we again try to restore the site using our hacked backup file, it successfully restores the same without any errors or warnings. And the site is up and running without any problems.

Note:- I’m using the Import-SPWeb as i’m restoring a Sub-Site to Root Site.