Monday, April 3, 2017

Failed to upgrade SharePoint Products Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException

Error Description:-
Failed to upgrade SharePoint Products.
An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: Failed to upgrade SharePoint Products.
Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException: Exception of type 'Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException' was thrown.
   at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

There are many reasons to Failed to upgrade SharePoint Products. In my case below solution working fine.

Failed Case:
Step 01:
After install update we need to run Configuration wizard. I run as usually with 'Run as Administrator'.
After 9th step Configuration wizard shown failed message as shown below.
Step 01:
Please open two instances of SharePoint 2010 Management Shell -> 'Run as Administrator'.
Step 02:
Go to "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN" path in first instance of PowerShell.
Step 03:
Type below PowerShell command to run Configuration Wizard.
"PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures"
Step 04: 
In first PowerShell instance, after reach 4 or 5 to 6 step in Configuration Wizard run below PoserShell command in Second instance of PowerShell.

net start SPTraceV4
net start SPWriterV4
net start SPAdminV4
net start SPTimerV4
net start OSearch14
net start SPSearch4
Step 06:
Here we no need to do anything, Simply Configuration Wizard will run without error.

1 comment:

  1. This incorrect, always check upgrade logs i.e. Upgrade-20190415-123732-501-error.log in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS in my case it failed due to separate web application for my site host, so deleted it when upgrading and recreated if after upgrade.


Featured Post

Azure Scripts

 Azure Scripts: Azure > Storage account > File shares > SMB File share To connect to this Azure file share from Windows, run the Po...

Popular posts