SharePoint 2010 Deployment - Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version

A Nightmare ! ... we constantly get this error when Restoring our Site from Development to Production Environment. We did run the windows update, PSConfig and everything. Finally after searching a lot we identified that the versions of both these Farms are Different. See the attached image to see the difference in versions.

To check SharePoint Current Version go to
Control Pannel > Program and Features .... and See SharePoint Server 2010 there and check its version next to it.

click on the image to enlarge it


We finally figured out that the
Source SharePoint 2010 Server had 14.0.4763.1000
And Target SharePoint 2010 Server had 14.0.6029.1000

This means that Target should be at the same version. The higher version is creating the problem to Restore... however Microsoft must have provided backward compatibility !

Complete Error Details
Restore-SPSite : Your backup is from a different version of Microsoft SharePoint
t Foundation and cannot be restored to a server running the current version. Th
e backup file should be restored to a server with version '14.0.0.5123' or late
r.
At line:1 char:15
+ Restore-SPSite <<<<  -Identity "http://mysite:1118/" -Path "D:\NewSiteBackup" -Force
    + CategoryInfo          : InvalidData: (Microsoft.Share...dletRestoreSite:
   SPCmdletRestoreSite) [Restore-SPSite], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRestoreS
   ite


Solution
Make the versions similar by manually installing the updates and service packs from Microsoft. Due to some reasons, the windows update dint work properly and miss out some important updates. Due to this, both the farms were experiencing different versions.

To manually choose which version to install, this site might help you out
http://www.tsls.co.uk/index.php/2010/10/18/sharepoint-2010-versions-cuhfsp/



Hope this will help someone !

Thanks

Comments

Popular posts from this blog

Export Data from AX 2012 - using DIXF (Data Migration Framework)

The virtual path maps to another application, which is not allowed