Today I was trying to do a database upgrade of SharePoint 2007 to SharePoint 2010, to do this Mount-SPContentDatabase CmdLet should be executed which upgrades the database, while trying to run it, I got the following error:
Mount-SPContentDatabase : Sequence [Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence] cannot upgrade an object [SPContentDatabase Name=WSS_Content] whose build version [22.214.171.12418] is too old. Upgrade requires [126.96.36.19921] or higher.
At line:1 char:24
+ Mount-SPContentDatabase <<<< -Name WSS_Content_Main_Portal -DatabaseServer d
+ CategoryInfo : InvalidData: (Microsoft.Share…ContentDatabase:
SPCmdletMountContentDatabase) [Mount-SPContentDatabase], SPUpgradeExceptio
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletMountCon
After googling a little bit, I found out that the content database which I was to trying to upgrade was a backup before SharePoint 2007 SP2 was installed, check the version from SharePoint 2007 Central Administration, Operations, Servers in Farm (under topology and services), version should be minimum 188.8.131.5221.