Failed to initiate the upgrade sequence - Error while upgrading from Microsoft SharePoint Foundation 2010 to Microsoft Sharepoint Server 2010 in Windows 7

Ran across this peculiar error today when I was upgrading from  Microsoft SharePoint Foundation 2010 to Microsoft Sharepoint Server 2010 on my laptop which had Windows 7.   I ran the "SharePoint 2010 Products Configuration Wizard " and got the below error

 

 Failed to initial the upgrade sequence.

An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: Exception of type ‘Microsoft.SharePoint.Upgrade.SPUpgradeException’ was thrown.

 

After some searching on the net I found this article.  Though the scenario mentioned in this is slightly different from mine I decided to try this out.  So I browsed to "HKLM\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS" in the registry  and updated the value of the SetupType key to "CLEAN_INSTALL". The old value was "SKU2SKU_UPGRADE".

 

After running the "SharePoint 2010 Products Configuration Wizard " again I now got a new error. 

 

An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown.  Additional exception information: Failed to call GetTypes on assembly Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Microsoft.SharePoint.Upgrade.SPUpgradeException: Failed to call GetTypes on assembly Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.RegisterAssembly(Dictionary`2 dictInitialType, Assembly asm, UInt32 nOrder)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.get_InitialTypeDictionary()

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegateTypes(Type tpObject)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegates(Object o)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetUpgraders(Object o)

   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgradeFalse(Object o)

   at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.set_NeedsUpgrade(Boolean value)

   at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()

   at Microsoft.Office.InfoPath.Server.Administration.FormsService.Update()

   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInConfigDB(Boolean provisionTheServiceToo, String serviceRegistryKeyName)

   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)

   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()

   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

 

This looked like some progress to me.  I further searched on the internet and found that I need to install MSChart components for .Net 3.5 sp1. Though it is indicated that this is a part of .Net Framework 4.0, I had Visual Studio 2010 already installed on my machine but this still failed. Hence I assume it needs the MSChart components for .Net 3.5 SP1 only. Other versions will not help.

 

I installed the MS Chart components from https://www.microsoft.com/downloads/en/details.aspx?familyid=130F7986-BF49-4FE5-9CA8-910AE6EA442C&displaylang=en.

 

I ran the  "SharePoint 2010 Products Configuration Wizard " again and this time lady luck seemed to smile on me. The wizard finished successfully and I could clearly the see new stuff in the Central Administration which indicated "Mission Accomplished"