Share via


Failed to run SharePoint Products Configuration Wizard

Question

Monday, June 3, 2019 2:35 PM

hi,

My requirement is to change the whole site into dutch language in SP on-premises.

i have found the solution , tht need to install language pack and run the SharePoint Products Configuration Wizard.

but in the 9 steps i got an error in wizard



and also ensured that sharepoint timer service is running state.

Kindly do the needful.

Thanks in advance.!!!

All replies (16)

Monday, June 3, 2019 2:59 PM

Hi Kamelesh,

Make sure you have enough Permissions and Try opening the log file you got and click Ctrl+F and enter ERR and check Match case on left down and send us the logs ? 

Thanks & Regards,

sharath aluri


Monday, June 3, 2019 3:08 PM

hi Sharath,

06/03/2019 19:09:00  15  ERR                      Task services has failed with an unknown exception 
06/03/2019 19:09:00  1  INF                      Not running in high contrast, so we will paint the background with our trademarked image
06/03/2019 19:09:00  1  INF                      Not running in high contrast, so we will paint the background with our trademarked image

06/03/2019 19:09:00  15  ERR                      Exception: System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
   at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
   at Microsoft.SharePoint.Win32.SPAdvApi32.StartService(String strServiceName)
   at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Start()
   at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Provision(Boolean start)
   at Microsoft.Office.Server.Conversions.LauncherServiceInstance.Provision()
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstanceInConfigDB(Boolean provisionTheServiceInstanceToo, String serviceInstanceRegistryKeyName, Object sharepointServiceObject)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstances(Boolean provisionTheServiceInstancesToo, String serviceRegistryKeyName, Object sharepointServiceObject)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
06/03/2019 19:09:00  15  INF                      Entering function Common.BuildExceptionMessage
06/03/2019 19:09:00  15  INF                        Entering function StringResourceManager.GetResourceString
06/03/2019 19:09:00  15  INF                          Resource id to be retrieved is ExceptionInfo for language English (United States)
06/03/2019 19:09:00  15  INF                          Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
06/03/2019 19:09:00  15  INF                        Leaving function StringResourceManager.GetResourceString
06/03/2019 19:09:00  15  INF                      Leaving function Common.BuildExceptionMessage
06/03/2019 19:09:00  15  INF                      Entering function Common.BuildExceptionInformation
06/03/2019 19:09:00  15  INF                        Entering function Common.BuildExceptionMessage
06/03/2019 19:09:00  15  INF                          Entering function StringResourceManager.GetResourceString
06/03/2019 19:09:00  15  INF                            Resource id to be retrieved is ExceptionInfo for language English (United States)
06/03/2019 19:09:00  15  INF                            Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
06/03/2019 19:09:00  15  INF                          Leaving function StringResourceManager.GetResourceString
06/03/2019 19:09:00  15  INF                        Leaving function Common.BuildExceptionMessage
06/03/2019 19:09:00  15  INF                      Leaving function Common.BuildExceptionInformation
06/03/2019 19:09:00  15  ERR                      An exception of type System.ServiceProcess.TimeoutException was thrown.  Additional exception information: Time out has expired and the operation has not been completed.
System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
   at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
   at Microsoft.SharePoint.Win32.SPAdvApi32.StartService(String strServiceName)
   at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Start()
   at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Provision(Boolean start)
   at Microsoft.Office.Server.Conversions.LauncherServiceInstance.Provision()
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstanceInConfigDB(Boolean provisionTheServiceInstanceToo, String serviceInstanceRegistryKeyName, Object sharepointServiceObject)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstances(Boolean provisionTheServiceInstancesToo, String serviceRegistryKeyName, Object sharepointServiceObject)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
06/03/2019 19:09:00  15  INF                      Entering function Common.BuildExceptionInformation
06/03/2019 19:09:00  15  INF                        Entering function Common.BuildExceptionMessage
06/03/2019 19:09:00  15  INF                          Entering function StringResourceManager.GetResourceString
06/03/2019 19:09:00  15  INF                            Resource id to be retrieved is ExceptionInfo for language English (United States)
06/03/2019 19:09:00  15  INF                            Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
06/03/2019 19:09:00  15  INF                          Leaving function StringResourceManager.GetResourceString
06/03/2019 19:09:00  15  INF                        Leaving function Common.BuildExceptionMessage
06/03/2019 19:09:00  15  INF                      Leaving function Common.BuildExceptionInformation
06/03/2019 19:09:00  15  INF                      Entering function get CommandCollection.this[string key]
06/03/2019 19:09:00  15  INF                        Entering function CommandCollectionBase.Get
06/03/2019 19:09:00  15  INF                          Found value in collection for key global
06/03/2019 19:09:00  15  INF                        Leaving function CommandCollectionBase.Get
06/03/2019 19:09:00  15  INF                        Found command global in collection
06/03/2019 19:09:00  15  INF                      Leaving function get CommandCollection.this[string key]
06/03/2019 19:09:00  15  INF                      Entering function get CommandCollection.this[string key]
06/03/2019 19:09:00  15  INF                        Entering function CommandCollectionBase.Get
06/03/2019 19:09:00  15  INF                          Found value in collection for key initialize
06/03/2019 19:09:00  15  INF                        Leaving function CommandCollectionBase.Get
06/03/2019 19:09:00  15  INF                        Found command initialize in collection
06/03/2019 19:09:00  15  INF                      Leaving function get CommandCollection.this[string key]
06/03/2019 19:09:00  15  INF                      Entering function Command.this[string key]
06/03/2019 19:09:00  15  INF                        Entering function CommandCollectionBase.Get
06/03/2019 19:09:00  15  INF                          Found value in collection for key SINGLESERVER
06/03/2019 19:09:00  15  INF                        Leaving function CommandCollectionBase.Get
06/03/2019 19:09:00  15  INF                        Found parameter SINGLESERVER in collection
06/03/2019 19:09:00  15  INF                      Leaving function Command.this[string key]
06/03/2019 19:09:00  15  INF                      Entering function Command.this[string key]
06/03/2019 19:09:00  15  INF                        Entering function CommandCollectionBase.Get
06/03/2019 19:09:00  15  INF                          Found value in collection for key upgradesessionid
06/03/2019 19:09:00  15  INF                        Leaving function CommandCollectionBase.Get
06/03/2019 19:09:00  15  INF                        Found parameter upgradesessionid in collection
06/03/2019 19:09:00  15  INF                      Leaving function Command.this[string key]
06/03/2019 19:09:00  15  INF                      Releasing the farm upgrade lock in common exception handler.
06/03/2019 19:09:00  15  INF                      Entering function TaskBase.OnTaskStop
06/03/2019 19:09:00  15  INF                        Creating the OnTaskStop event for task services
06/03/2019 19:09:00  15  ERR                        Task services has failed
06/03/2019 19:09:00  15  INF                        friendlyMessage for task services is An exception of type System.ServiceProcess.TimeoutException was thrown.  Additional exception information: Time out has expired and the operation has not been completed.
06/03/2019 19:09:00  15  INF                        debugMessage for task services is An exception of type System.ServiceProcess.TimeoutException was thrown.  Additional exception information: Time out has expired and the operation has not been completed.
System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
   at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
   at Microsoft.SharePoint.Win32.SPAdvApi32.StartService(String strServiceName)
   at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Start()
   at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Provision(Boolean start)
   at Microsoft.Office.Server.Conversions.LauncherServiceInstance.Provision()
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstanceInConfigDB(Boolean provisionTheServiceInstanceToo, String serviceInstanceRegistryKeyName, Object sharepointServiceObject)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstances(Boolean provisionTheServiceInstancesToo, String serviceRegistryKeyName, Object sharepointServiceObject)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
06/03/2019 19:09:00  15  INF                        Entering function TaskBase.FireTaskStateChanged
06/03/2019 19:09:00  15  INF                          Firing the OnTaskStateChanged event for task services
06/03/2019 19:09:00  15  INF                          Entering function TaskDriver.TaskStateEventHandler
06/03/2019 19:09:00  15  INF                            Entering function StringResourceManager.GetResourceString
06/03/2019 19:09:00  15  INF                              Resource id to be retrieved is ServicesTaskDisplayName for language English (United States)
06/03/2019 19:09:00  15  INF                              Resource retrieved id ServicesTaskDisplayName is service registration
06/03/2019 19:09:00  15  INF                            Leaving function StringResourceManager.GetResourceString
06/03/2019 19:09:00  15  INF                            Received an TaskStateEventHandler event.  task:services TaskBase.State:stopped
06/03/2019 19:09:00  15  INF                            Entering function TasksQueue.IncrementTaskFailed
06/03/2019 19:09:00  15  INF                              Incremented the number of tasks failed to 1
06/03/2019 19:09:00  15  INF                            Leaving function TasksQueue.IncrementTaskFailed
06/03/2019 19:09:00  15  INF                            Task services has stopped and failed.  Total failed is now 1
06/03/2019 19:09:00  15  INF                          Leaving function TaskDriver.TaskStateEventHandler
06/03/2019 19:09:00  15  INF                          Entering function PsconfigBaseForm.TaskStateEventHandler
06/03/2019 19:09:00  15  INF                            Invoking the UI thread with the task state chagne event

06/03/2019 19:09:00  7  ERR                    Task service registration failed, so stopping execution of the engine
06/03/2019 19:09:00  7  INF                    Entering function StringResourceManager.GetResourceString
06/03/2019 19:09:00  7  INF                      Resource id to be retrieved is ServicesTaskFailConfigDisplayLabel for language English (United States)
06/03/2019 19:09:00  7  INF                      Resource retrieved id ServicesTaskFailConfigDisplayLabel is Failed to register SharePoint services.
06/03/2019 19:09:00  7  INF                    Leaving function StringResourceManager.GetResourceString
06/03/2019 19:09:00  7  ERR                    Failed to register SharePoint services.
An exception of type System.ServiceProcess.TimeoutException was thrown.  Additional exception information: Time out has expired and the operation has not been completed.
System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
   at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
   at Microsoft.SharePoint.Win32.SPAdvApi32.StartService(String strServiceName)
   at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Start()
   at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Provision(Boolean start)
   at Microsoft.Office.Server.Conversions.LauncherServiceInstance.Provision()
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstanceInConfigDB(Boolean provisionTheServiceInstanceToo, String serviceInstanceRegistryKeyName, Object sharepointServiceObject)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstances(Boolean provisionTheServiceInstancesToo, String serviceRegistryKeyName, Object sharepointServiceObject)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

06/03/2019 19:09:00  7  ERR                    Task service registration failed, so stopping execution of the engine
06/03/2019 19:09:00  7  INF                    Entering function StringResourceManager.GetResourceString
06/03/2019 19:09:00  7  INF                      Resource id to be retrieved is ServicesTaskFailConfigDisplayLabel for language English (United States)
06/03/2019 19:09:00  7  INF                      Resource retrieved id ServicesTaskFailConfigDisplayLabel is Failed to register SharePoint services.
06/03/2019 19:09:00  7  INF                    Leaving function StringResourceManager.GetResourceString
06/03/2019 19:09:00  7  ERR                    Failed to register SharePoint services.
An exception of type System.ServiceProcess.TimeoutException was thrown.  Additional exception information: Time out has expired and the operation has not been completed.
System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
   at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
   at Microsoft.SharePoint.Win32.SPAdvApi32.StartService(String strServiceName)
   at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Start()
   at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Provision(Boolean start)
   at Microsoft.Office.Server.Conversions.LauncherServiceInstance.Provision()
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstanceInConfigDB(Boolean provisionTheServiceInstanceToo, String serviceInstanceRegistryKeyName, Object sharepointServiceObject)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstances(Boolean provisionTheServiceInstancesToo, String serviceRegistryKeyName, Object sharepointServiceObject)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

06/03/2019 19:09:00  7  ERR                  One or more configuration tasks has failed to execute

06/03/2019 19:09:00  7  ERR                    Configuration of SharePoint Products failed.  Configuration must be performed in order for this product to operate properly.  To diagnose the problem, review the extended error information located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS\PSCDiagnostics_6_3_2019_19_3_49_384_796237637.log, fix the problem, and run this configuration wizard again.


Monday, June 3, 2019 3:47 PM

Hi Kamlesh,

Got to Registry Editor and add the New Dword: to go over there open run from windows and type regedit and hit enter.

Add a new Dword (32-Bit) key named “AcknowledgedRunningOnAppServer” with value “1” to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\15 or 14\LauncherSettings

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\15 or 14\LoadBalancerSettings

and re-run the configuration wizard.

https://support.microsoft.com/en-us/help/2910363/some-document-conversion-services-in-sharepoint-server-are-not-secure

Thanks & Regards,

sharath aluri


Monday, June 3, 2019 5:06 PM

In addition to registry keys, also check backend connectivity.  troubleshooting:

  1. Right-click on the desktop, choose NotePad, and then save the ext file with extension UDL.  Double-click the file.  This will open a SQL Server connectivity dialog that enables you to enter your connection information and test connectivity.
  2. Check whether SPTimer service is running

Tuesday, June 4, 2019 6:38 AM

hi Sharath,

               i did what the steps u mentioned. but showing error in 8th step as shown in the below link.

And also did powershell code, even tht failed. :(

PostSetupConfiguration error


Tuesday, June 4, 2019 9:46 AM

Hi, Kamlesh,

You have a new error after applying the fix Sharath provide, correct? Is there any configuration log provided in the error message? Please provide a screenshot of the new error message and the content in the log file.

Also please check the service accounts having proper permissions to Sql server database.

Here is a thread of similar issue you can check:

https://sharepoint.stackexchange.com/questions/118287/sharepoint-configuration-wizard-will-raise-microsoft-sharepoint-postsetupconfigu

Best Regards

Jerry Xu

Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].

SharePoint Server 2019 has been released, you can click

here to download it.
Click

here to learn new features. Visit the dedicated

forum to share, explore and talk to experts about SharePoint Server 2019.


Tuesday, June 4, 2019 11:26 AM

hi Jerry,

          yeah, and tried your referenced link powershell, still not working.

Log Error Message :

06/04/2019 16:28:40  14  ERR            The exclusive inplace upgrader timer job failed.
06/04/2019 16:28:40  14  INF            Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF              Resource id to be retrieved is UpgradeTaskFailConfigSyncDisplayLabel for language English (United States)
06/04/2019 16:28:40  14  INF              Resource retrieved id UpgradeTaskFailConfigSyncDisplayLabel is Failed to upgrade SharePoint Products.
06/04/2019 16:28:40  14  INF            Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF            Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF              Resource id to be retrieved is InvalidCommandOrCommandFailed for language English (United States)
06/04/2019 16:28:40  14  INF              Resource retrieved id InvalidCommandOrCommandFailed is The {0} command is invalid or a failure has been encountered.
06/04/2019 16:28:40  14  INF            Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF            Entering function Common.BuildExceptionMessage
06/04/2019 16:28:40  14  INF              Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF                Resource id to be retrieved is ExceptionInfo for language English (United States)
06/04/2019 16:28:40  14  INF                Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
06/04/2019 16:28:40  14  INF              Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF            Leaving function Common.BuildExceptionMessage
06/04/2019 16:28:40  14  ERR            Task upgrade has failed with a PostSetupConfigurationTaskException An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: The upgrade command is invalid or a failure has been encountered.
Failed to upgrade SharePoint Products.
06/04/2019 16:28:40  14  INF            Entering function Common.BuildExceptionInformation
06/04/2019 16:28:40  14  INF              Entering function Common.BuildExceptionMessage
06/04/2019 16:28:40  14  INF                Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF                  Resource id to be retrieved is ExceptionInfo for language English (United States)
06/04/2019 16:28:40  14  INF                  Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
06/04/2019 16:28:40  14  INF                Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF              Leaving function Common.BuildExceptionMessage
06/04/2019 16:28:40  14  INF            Leaving function Common.BuildExceptionInformation
06/04/2019 16:28:40  14  ERR            An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: The upgrade command is invalid or a failure has been encountered.
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()
06/04/2019 16:28:40  14  INF            Entering function Common.BuildExceptionInformation
06/04/2019 16:28:40  14  INF              Entering function Common.BuildExceptionMessage
06/04/2019 16:28:40  14  INF                Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF                  Resource id to be retrieved is ExceptionInfo for language English (United States)
06/04/2019 16:28:40  14  INF                  Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
06/04/2019 16:28:40  14  INF                Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF              Leaving function Common.BuildExceptionMessage
06/04/2019 16:28:40  14  INF            Leaving function Common.BuildExceptionInformation
06/04/2019 16:28:40  14  INF            Entering function get CommandCollection.this[string key]
06/04/2019 16:28:40  14  INF              Entering function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF                Found value in collection for key global
06/04/2019 16:28:40  14  INF              Leaving function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF              Found command global in collection
06/04/2019 16:28:40  14  INF            Leaving function get CommandCollection.this[string key]
06/04/2019 16:28:40  14  INF            Entering function get CommandCollection.this[string key]
06/04/2019 16:28:40  14  INF              Entering function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF                Found value in collection for key initialize
06/04/2019 16:28:40  14  INF              Leaving function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF              Found command initialize in collection
06/04/2019 16:28:40  14  INF            Leaving function get CommandCollection.this[string key]
06/04/2019 16:28:40  14  INF            Entering function Command.this[string key]
06/04/2019 16:28:40  14  INF              Entering function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF                Found value in collection for key SINGLESERVER
06/04/2019 16:28:40  14  INF              Leaving function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF              Found parameter SINGLESERVER in collection
06/04/2019 16:28:40  14  INF            Leaving function Command.this[string key]
06/04/2019 16:28:40  14  INF            Entering function Command.this[string key]
06/04/2019 16:28:40  14  INF              Entering function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF                Found value in collection for key upgradesessionid
06/04/2019 16:28:40  14  INF              Leaving function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF              Found parameter upgradesessionid in collection
06/04/2019 16:28:40  14  INF            Leaving function Command.this[string key]
06/04/2019 16:28:40  14  INF            Releasing the farm upgrade lock in common exception handler.
06/04/2019 16:28:40  14  INF            Entering function UpgradeBootstrapTask.BuildUpgradeExtendedMessage
06/04/2019 16:28:40  14  INF              Task result is fail
06/04/2019 16:28:40  14  INF            Leaving function UpgradeBootstrapTask.BuildUpgradeExtendedMessage
06/04/2019 16:28:40  14  INF            Entering function TaskBase.OnTaskStop
06/04/2019 16:28:40  14  INF              Creating the OnTaskStop event for task upgrade
06/04/2019 16:28:40  14  ERR              Task upgrade has failed
06/04/2019 16:28:40  14  INF              friendlyMessage for task upgrade is An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: The upgrade command is invalid or a failure has been encountered.
Failed to upgrade SharePoint Products.
06/04/2019 16:28:40  14  INF              debugMessage for task upgrade is An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: The upgrade command is invalid or a failure has been encountered.
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()
06/04/2019 16:28:40  14  INF              Entering function TaskBase.FireTaskStateChanged
06/04/2019 16:28:40  14  INF                Firing the OnTaskStateChanged event for task upgrade
06/04/2019 16:28:40  14  INF                Entering function TaskDriver.TaskStateEventHandler
06/04/2019 16:28:40  14  INF                  Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF                    Resource id to be retrieved is UpgradeTaskDisplayName for language English (United States)
06/04/2019 16:28:40  14  INF                    Resource retrieved id UpgradeTaskDisplayName is upgrade SharePoint Products
06/04/2019 16:28:40  14  INF                  Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF                  Received an TaskStateEventHandler event.  task:upgrade TaskBase.State:stopped
06/04/2019 16:28:40  14  INF                  Entering function TasksQueue.IncrementTaskFailed
06/04/2019 16:28:40  14  INF                    Incremented the number of tasks failed to 1
06/04/2019 16:28:40  14  INF                  Leaving function TasksQueue.IncrementTaskFailed
06/04/2019 16:28:40  14  INF                  Task upgrade has stopped and failed.  Total failed is now 1
06/04/2019 16:28:40  14  INF                Leaving function TaskDriver.TaskStateEventHandler
06/04/2019 16:28:40  14  INF                Entering function CommandLine.TaskStateEventHandler
06/04/2019 16:28:40  14  INF                  Received an TaskStateEventHandler event.  task:upgrade TaskBase.State:stopped
06/04/2019 16:28:40  14  INF                  Task upgrade has stopped and failed.  Total failed is now 1
06/04/2019 16:28:40  14  INF                  Entering function get CommandCollection.this[string key]
06/04/2019 16:28:40  14  INF                    Entering function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF                      Found value in collection for key initialize
06/04/2019 16:28:40  14  INF                    Leaving function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF                    Found command initialize in collection
06/04/2019 16:28:40  14  INF                  Leaving function get CommandCollection.this[string key]
06/04/2019 16:28:40  14  INF                  Entering function Command.this[string key]
06/04/2019 16:28:40  14  INF                    Entering function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF                      Found value in collection for key wait
06/04/2019 16:28:40  14  INF                    Leaving function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF                    Found parameter wait in collection
06/04/2019 16:28:40  14  INF                  Leaving function Command.this[string key]
06/04/2019 16:28:40  14  INF                  Entering function Command.this[string key]
06/04/2019 16:28:40  14  INF                    Entering function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF                      Found value in collection for key B2B_UPGRADE
06/04/2019 16:28:40  14  INF                    Leaving function CommandCollectionBase.Get
06/04/2019 16:28:40  14  INF                    Found parameter B2B_UPGRADE in collection
06/04/2019 16:28:40  14  INF                  Leaving function Command.this[string key]
06/04/2019 16:28:40  14  INF                  Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF                    Resource id to be retrieved is UpgradeTaskFailConfigSyncDisplayLabel for language English (United States)
06/04/2019 16:28:40  14  INF                    Resource retrieved id UpgradeTaskFailConfigSyncDisplayLabel is Failed to upgrade SharePoint Products.
06/04/2019 16:28:40  14  INF                  Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  14  INF                  Last message from task upgrade is An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: The upgrade command is invalid or a failure has been encountered.
Failed to upgrade SharePoint Products.
06/04/2019 16:28:40  14  INF                Leaving function CommandLine.TaskStateEventHandler
06/04/2019 16:28:40  14  INF              Leaving function TaskBase.FireTaskStateChanged
06/04/2019 16:28:40  14  INF            Leaving function TaskBase.OnTaskStop
06/04/2019 16:28:40  14  INF          Leaving function TaskThread.ExecuteTask
06/04/2019 16:28:40  1  INF          Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF            Resource id to be retrieved is UpgradeTaskDisplayName for language English (United States)
06/04/2019 16:28:40  1  INF            Resource retrieved id UpgradeTaskDisplayName is upgrade SharePoint Products
06/04/2019 16:28:40  1  INF          Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  ERR          Task upgrade SharePoint Products failed, so stopping execution of the engine
06/04/2019 16:28:40  1  INF          Entering function get CommandCollection.this[string key]
06/04/2019 16:28:40  1  INF            Entering function CommandCollectionBase.Get
06/04/2019 16:28:40  1  INF              Found value in collection for key initialize
06/04/2019 16:28:40  1  INF            Leaving function CommandCollectionBase.Get
06/04/2019 16:28:40  1  INF            Found command initialize in collection
06/04/2019 16:28:40  1  INF          Leaving function get CommandCollection.this[string key]
06/04/2019 16:28:40  1  INF          Entering function Command.this[string key]
06/04/2019 16:28:40  1  INF            Entering function CommandCollectionBase.Get
06/04/2019 16:28:40  1  INF              Found value in collection for key wait
06/04/2019 16:28:40  1  INF            Leaving function CommandCollectionBase.Get
06/04/2019 16:28:40  1  INF            Found parameter wait in collection
06/04/2019 16:28:40  1  INF          Leaving function Command.this[string key]
06/04/2019 16:28:40  1  INF          Entering function Command.this[string key]
06/04/2019 16:28:40  1  INF            Entering function CommandCollectionBase.Get
06/04/2019 16:28:40  1  INF              Found value in collection for key B2B_UPGRADE
06/04/2019 16:28:40  1  INF            Leaving function CommandCollectionBase.Get
06/04/2019 16:28:40  1  INF            Found parameter B2B_UPGRADE in collection
06/04/2019 16:28:40  1  INF          Leaving function Command.this[string key]
06/04/2019 16:28:40  1  INF          Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF            Resource id to be retrieved is UpgradeTaskFailConfigSyncDisplayLabel for language English (United States)
06/04/2019 16:28:40  1  INF            Resource retrieved id UpgradeTaskFailConfigSyncDisplayLabel is Failed to upgrade SharePoint Products.
06/04/2019 16:28:40  1  INF          Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  ERR          Failed to upgrade SharePoint Products.
An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: The upgrade command is invalid or a failure has been encountered.
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()
06/04/2019 16:28:40  1  INF          Entering function TaskDriver.NotifyTaskSummary
06/04/2019 16:28:40  1  INF            Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF              Resource id to be retrieved is TotalTasksRan for language English (United States)
06/04/2019 16:28:40  1  INF              Resource retrieved id TotalTasksRan is Total number of configuration settings run: {0}
06/04/2019 16:28:40  1  INF            Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF            Entering function TaskDriver.OnTaskDriverNotify
06/04/2019 16:28:40  1  INF              Sending a task driver notify event: TaskDriverEventArgs.EventCriticalityType: info, TaskDriverEventArgs.EventMessageType: totalran, TaskDriverEventArgs.EventType.notify, message: Total number of configuration settings run: 5
06/04/2019 16:28:40  1  INF              Entering function TaskDriver.FireOnTaskDriverEvent
06/04/2019 16:28:40  1  INF                Entering function CommandLine.TaskDriverEventHandler
06/04/2019 16:28:40  1  INF                  Received a TaskDriverEventHandler: TaskDriverEventArgs.EventCriticalityType info, TaskDriverEventArgs.EventType notify, message Total number of configuration settings run: 5
06/04/2019 16:28:40  1  INF                Leaving function CommandLine.TaskDriverEventHandler
06/04/2019 16:28:40  1  INF              Leaving function TaskDriver.FireOnTaskDriverEvent
06/04/2019 16:28:40  1  INF            Leaving function TaskDriver.OnTaskDriverNotify
06/04/2019 16:28:40  1  INF            Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF              Resource id to be retrieved is TotalTasksSucceeded for language English (United States)
06/04/2019 16:28:40  1  INF              Resource retrieved id TotalTasksSucceeded is Total number of successful configuration settings: {0}
06/04/2019 16:28:40  1  INF            Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF            Entering function TaskDriver.OnTaskDriverNotify
06/04/2019 16:28:40  1  INF              Sending a task driver notify event: TaskDriverEventArgs.EventCriticalityType: info, TaskDriverEventArgs.EventMessageType: totalsuccess, TaskDriverEventArgs.EventType.notify, message: Total number of successful configuration settings: 4
06/04/2019 16:28:40  1  INF              Entering function TaskDriver.FireOnTaskDriverEvent
06/04/2019 16:28:40  1  INF                Entering function CommandLine.TaskDriverEventHandler
06/04/2019 16:28:40  1  INF                  Received a TaskDriverEventHandler: TaskDriverEventArgs.EventCriticalityType info, TaskDriverEventArgs.EventType notify, message Total number of successful configuration settings: 4
06/04/2019 16:28:40  1  INF                Leaving function CommandLine.TaskDriverEventHandler
06/04/2019 16:28:40  1  INF              Leaving function TaskDriver.FireOnTaskDriverEvent
06/04/2019 16:28:40  1  INF            Leaving function TaskDriver.OnTaskDriverNotify
06/04/2019 16:28:40  1  INF            Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF              Resource id to be retrieved is TotalTasksFailed for language English (United States)
06/04/2019 16:28:40  1  INF              Resource retrieved id TotalTasksFailed is Total number of unsuccessful configuration settings: {0}
06/04/2019 16:28:40  1  INF            Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF            Entering function TaskDriver.OnTaskDriverNotify
06/04/2019 16:28:40  1  INF              Sending a task driver notify event: TaskDriverEventArgs.EventCriticalityType: info, TaskDriverEventArgs.EventMessageType: totalfail, TaskDriverEventArgs.EventType.notify, message: Total number of unsuccessful configuration settings: 1
06/04/2019 16:28:40  1  INF              Entering function TaskDriver.FireOnTaskDriverEvent
06/04/2019 16:28:40  1  INF                Entering function CommandLine.TaskDriverEventHandler
06/04/2019 16:28:40  1  INF                  Received a TaskDriverEventHandler: TaskDriverEventArgs.EventCriticalityType info, TaskDriverEventArgs.EventType notify, message Total number of unsuccessful configuration settings: 1
06/04/2019 16:28:40  1  INF                Leaving function CommandLine.TaskDriverEventHandler
06/04/2019 16:28:40  1  INF              Leaving function TaskDriver.FireOnTaskDriverEvent
06/04/2019 16:28:40  1  INF            Leaving function TaskDriver.OnTaskDriverNotify
06/04/2019 16:28:40  1  INF          Leaving function TaskDriver.NotifyTaskSummary
06/04/2019 16:28:40  1  ERR          One or more configuration tasks has failed or some tasks were not run
06/04/2019 16:28:40  1  INF          Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF            Resource id to be retrieved is PostSetupConfigurationStoppingSucceeded for language English (United States)
06/04/2019 16:28:40  1  INF            Resource retrieved id PostSetupConfigurationStoppingSucceeded is Successfully stopped the configuration of SharePoint Products.
06/04/2019 16:28:40  1  INF          Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF          Entering function TaskDriver.OnTaskDriverStopping
06/04/2019 16:28:40  1  INF            Sending a task driver stopping event: TaskDriverEventArgs.EventCriticalityType info, TaskDriverEventArgs.EventType.stopping, Successfully stopped the configuration of SharePoint Products.
06/04/2019 16:28:40  1  INF            Entering function TaskDriverStateChange.Enter
06/04/2019 16:28:40  1  INF              Acquiring the writer lock to change the state
06/04/2019 16:28:40  1  INF              Current state of the task driver is neverrun.  You want to change it to stoppingrun
06/04/2019 16:28:40  1  INF              Changed state of the task driver to neverrun
06/04/2019 16:28:40  1  INF              Released the writer lock to change the state
06/04/2019 16:28:40  1  INF            Leaving function TaskDriverStateChange.Enter
06/04/2019 16:28:40  1  INF            Entering function TaskDriver.FireOnTaskDriverEvent
06/04/2019 16:28:40  1  INF              Entering function CommandLine.TaskDriverEventHandler
06/04/2019 16:28:40  1  INF                Received a TaskDriverEventHandler: TaskDriverEventArgs.EventCriticalityType info, TaskDriverEventArgs.EventType stopping, message Successfully stopped the configuration of SharePoint Products.
06/04/2019 16:28:40  1  INF              Leaving function CommandLine.TaskDriverEventHandler
06/04/2019 16:28:40  1  INF            Leaving function TaskDriver.FireOnTaskDriverEvent
06/04/2019 16:28:40  1  INF          Leaving function TaskDriver.OnTaskDriverStopping
06/04/2019 16:28:40  1  INF        Leaving function TaskDriver.ExecuteTasks
06/04/2019 16:28:40  1  ERR        One or more configuration tasks has failed to execute
06/04/2019 16:28:40  1  INF        Entering function TaskDriver.Stop
06/04/2019 16:28:40  1  INF          Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF            Resource id to be retrieved is PostSetupConfigurationFailedEventLog for language English (United States)
06/04/2019 16:28:40  1  INF            Resource retrieved id PostSetupConfigurationFailedEventLog is Configuration of SharePoint Products failed.  Configuration must be performed in order for this product to operate properly.  To diagnose the problem, review the extended error information located at {0}, fix the problem, and run this configuration wizard again.
06/04/2019 16:28:40  1  INF          Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  ERR          Configuration of SharePoint Products failed.  Configuration must be performed in order for this product to operate properly.  To diagnose the problem, review the extended error information located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS\PSCDiagnostics_6_4_2019_16_22_48_649_1921515279.log, fix the problem, and run this configuration wizard again.
06/04/2019 16:28:40  1  INF          Entering function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF            Resource id to be retrieved is PostSetupConfigurationFailedUserMessage for language English (United States)
06/04/2019 16:28:40  1  INF            Resource retrieved id PostSetupConfigurationFailedUserMessage is Configuration of SharePoint Products failed.  Configuration must be performed before you use SharePoint Products.  For further details, see the diagnostic log located at {0} and the application event log.
06/04/2019 16:28:40  1  INF          Leaving function StringResourceManager.GetResourceString
06/04/2019 16:28:40  1  INF          Entering function TaskDriver.OnTaskDriverStop
06/04/2019 16:28:40  1  INF            Sending a task driver stop event: TaskDriverEventArgs.EventCriticalityType error, TaskDriverEventArgs.EventType.stop, Configuration of SharePoint Products failed.  Configuration must be performed before you use SharePoint Products.  For further details, see the diagnostic log located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS\PSCDiagnostics_6_4_2019_16_22_48_649_1921515279.log and the application event log.
06/04/2019 16:28:40  1  INF            Entering function TaskDriverStateChange.Enter
06/04/2019 16:28:40  1  INF              Acquiring the writer lock to change the state
06/04/2019 16:28:40  1  INF              Current state of the task driver is neverrun.  You want to change it to stoppedrunning
06/04/2019 16:28:40  1  INF              Changed state of the task driver to neverrun
06/04/2019 16:28:40  1  INF              Released the writer lock to change the state
06/04/2019 16:28:40  1  INF            Leaving function TaskDriverStateChange.Enter
06/04/2019 16:28:40  1  INF            Entering function TaskDriver.FireOnTaskDriverEvent
06/04/2019 16:28:40  1  INF              Entering function CommandLine.TaskDriverEventHandler
06/04/2019 16:28:40  1  INF                Received a TaskDriverEventHandler: TaskDriverEventArgs.EventCriticalityType error, TaskDriverEventArgs.EventType stop, message Configuration of SharePoint Products failed.  Configuration must be performed before you use SharePoint Products.  For further details, see the diagnostic log located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS\PSCDiagnostics_6_4_2019_16_22_48_649_1921515279.log and the application event log.
06/04/2019 16:28:40  1  INF              Leaving function CommandLine.TaskDriverEventHandler
06/04/2019 16:28:40  1  INF            Leaving function TaskDriver.FireOnTaskDriverEvent
06/04/2019 16:28:40  1  INF          Leaving function TaskDriver.OnTaskDriverStop
06/04/2019 16:28:40  1  INF        Leaving function TaskDriver.Stop
06/04/2019 16:28:40  1  INF        UnLocking the task driver for exclusive use while we ran tasks
06/04/2019 16:28:40  1  INF      Leaving function TaskDriver.Run
06/04/2019 16:28:40  1  ERR      Post setup configuration was not run successfully when using the command line task driver module
06/04/2019 16:28:40  1  INF    Leaving function PsconfigCommandLineMain.Main

Thanks in advance


Tuesday, June 4, 2019 11:41 AM

hi Stephan,

Error in connection,?



Kindly do the needful.


Tuesday, June 4, 2019 11:50 AM

hi,

i have run the following command :-

so does the required mean that i need to install the missing update of product name ?


Tuesday, June 4, 2019 2:06 PM

Hi Kamlesh,

Yes that's true but PowerShell always don't give the exact missing feature. to check the exact missing features check in CA -> Upgrade and Migration -> Check Product and patch installation status here it shows what are the feature that are required in this farm, according to that you can install those missing patches.

Thanks & Regards,

sharath aluri


Tuesday, June 4, 2019 5:26 PM

Kamalesh - if the connection attempt failed, that indicates exactly what the message indicates:

  • You used the wrong servername
  • the account you used doesn't have the necessary permission
  • there may also be a local firewall issue

Check the account in  SQL Server.  Does it have at least these SQL Server roles:

  • dbcreator
  • securityadmin

Is it a db_owner of the farm  configuration and farm content databases?  Is it a member of the local Administrators group on each SharePoint farm server?

What is the account you used to original install the SharePoint farm?  Is it the same one you used to install the patches?


Thursday, June 6, 2019 6:34 AM

hi shephan,

               For your information, i dont have SSMS in my local system.? why we need SQL Server to run for the product wizard? is there any dependency in running product wizard? In my colleague system, everything worked perfect without having SSMS. No error had occurred while running the Product Wizard. But still Language Setting option is missing.! dont know y.  since i am new to this. kindly guide me. 


Thursday, June 6, 2019 11:05 AM

make sure the sharepoint setup account you use to run product configuration has local administration permission;

if there is upgrade error, you can take a look at the upgrade error log;

and you can run upgrade-spcontentdatabase first and then run product configuration again.


Thursday, June 6, 2019 9:53 PM

Kamalesh - the account that you used to perform the install has to have a variety of special permissions or it won't fully do its job. It's not enough to add that account to the SharePoint server's local Administrators group. It also must be able to interact with the SQL Server backend to the farm you are trying to deploy - it has to be able to create databases and provision permissions - that's why it needs the "dbcreator" and "securityadmin" roles on the back end. Here are the Microsoft articles for SharePoint Server 2010 that discuss this:

On the other hand, if you are performing a single-server with built-in database installation, where SharePoint and SQL Server Express are all installed to a single machine, you don't need to worry about those things. This is a comprehensive reference to SharePoint Server 2010 and includes single-server scenarios:


Friday, June 7, 2019 1:16 AM

Hi Kamalesh,

Try using the below steps:

1)Restart your SharePoint Timer service before you run config wizard.
2)Make sure you run with farm accounts which has "Security Admin & DbCreator" permissions (or) DbOwner for all Databases.

https://sharepointgotchas.wordpress.com/2014/04/17/postsetupconfigurationtaskexception-was-thrown-when-installing-sp1/
3)Reboot the Servers
4)Open PowerShell ISE "Run as Administrator" then add the snippin first by running the below command.
Add-Pssnapin "Microsoft.SharePoint.PowerShell"
5)Next run the below command.
PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources -cmd services -install

Thanks & Regards,

sharath aluri


Tuesday, June 11, 2019 9:54 AM

Hi Kamalesh,

I’m checking how the things are going on about this issue. Whether the post helps you?

You can mark the post as answer if it helps.

Best Regards

Jerry Xu

Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].

SharePoint Server 2019 has been released, you can click

here to download it.
Click

here to learn new features. Visit the dedicated

forum to share, explore and talk to experts about SharePoint Server 2019.