0

i have SharePoint 2013 with build number = 15.0.4763.1000 which represents October 2015 CU. now we have installed the security updates for December 2015. but when i run the product configuration wizard i got the following excretion on step 8 out of 9:- enter image description here

now i read many articles about how to fix this , and many of them suggest to run these commands:-

Psconfig.exe -cmd upgrade -inplace b2b -wait -force

or

PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures 

but i have a question on what are the main differences between these 2 scripts ?

second question , what are the differences between run the SharePoint production configuration wizard and running these scripts ?

Thanks

EDIT

Here is the part of the related logs for te PSCDiagnostics:-

01/05/2016 19:23:53  16  ERR                Task upgrade has failed with a PostSetupConfigurationTaskException An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: Failed to upgrade SharePoint Products.
01/05/2016 19:23:53  16  INF                Entering function Common.BuildExceptionInformation
01/05/2016 19:23:53  16  INF                  Entering function Common.BuildExceptionMessage
01/05/2016 19:23:53  16  INF                    Entering function StringResourceManager.GetResourceString
01/05/2016 19:23:53  16  INF                      Resource id to be retrieved is ExceptionInfo for language English (United States)
01/05/2016 19:23:53  16  INF                      Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
01/05/2016 19:23:53  16  INF                    Leaving function StringResourceManager.GetResourceString
01/05/2016 19:23:53  16  INF                  Leaving function Common.BuildExceptionMessage
01/05/2016 19:23:53  16  INF                Leaving function Common.BuildExceptionInformation
01/05/2016 19:23:53  16  ERR                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()
01/05/2016 19:23:53  16  INF                Entering function Common.BuildExceptionInformation
01/05/2016 19:23:53  16  INF                  Entering function Common.BuildExceptionMessage
01/05/2016 19:23:53  16  INF                    Entering function StringResourceManager.GetResourceString
01/05/2016 19:23:53  16  INF                      Resource id to be retrieved is ExceptionInfo for language English (United States)
01/05/2016 19:23:53  16  INF                      Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
01/05/2016 19:23:53  16  INF                    Leaving function StringResourceManager.GetResourceString
01/05/2016 19:23:53  16  INF                  Leaving function Common.BuildExceptionMessage
01/05/2016 19:23:53  16  INF                Leaving function Common.BuildExceptionInformation
01/05/2016 19:23:53  16  INF                Entering function get CommandCollection.this[string key]
01/05/2016 19:23:53  16  INF                  Entering function CommandCollectionBase.Get
01/05/2016 19:23:53  16  INF                    Found value in collection for key global
01/05/2016 19:23:53  16  INF                  Leaving function CommandCollectionBase.Get
01/05/2016 19:23:53  16  INF                  Found command global in collection
01/05/2016 19:23:53  16  INF                Leaving function get CommandCollection.this[string key]
01/05/2016 19:23:53  16  INF                Entering function get CommandCollection.this[string key]
01/05/2016 19:23:53  16  INF                  Entering function CommandCollectionBase.Get
01/05/2016 19:23:53  16  INF                    Found value in collection for key initialize
01/05/2016 19:23:53  16  INF                  Leaving function CommandCollectionBase.Get
01/05/2016 19:23:53  16  INF                  Found command initialize in collection
01/05/2016 19:23:53  16  INF                Leaving function get CommandCollection.this[string key]
01/05/2016 19:23:53  16  INF                Entering function Command.this[string key]
01/05/2016 19:23:53  16  INF                  Entering function CommandCollectionBase.Get
01/05/2016 19:23:53  16  INF                    Found value in collection for key SINGLESERVER
01/05/2016 19:23:53  16  INF                  Leaving function CommandCollectionBase.Get
01/05/2016 19:23:53  16  INF                  Found parameter SINGLESERVER in collection
01/05/2016 19:23:53  16  INF                Leaving function Command.this[string key]
01/05/2016 19:23:53  16  INF                Entering function Command.this[string key]
01/05/2016 19:23:53  16  INF                  Entering function CommandCollectionBase.Get
01/05/2016 19:23:53  16  INF                    Found value in collection for key upgradesessionid
01/05/2016 19:23:53  16  INF                  Leaving function CommandCollectionBase.Get
01/05/2016 19:23:53  16  INF                  Found parameter upgradesessionid in collection
01/05/2016 19:23:53  16  INF                Leaving function Command.this[string key]
01/05/2016 19:23:53  16  INF                Releasing the farm upgrade lock in common exception handler.
01/05/2016 19:23:53  16  INF                Entering function UpgradeBootstrapTask.BuildUpgradeExtendedMessage
01/05/2016 19:23:53  16  INF                  Task result is fail
01/05/2016 19:23:53  16  INF                Leaving function UpgradeBootstrapTask.BuildUpgradeExtendedMessage
01/05/2016 19:23:53  16  INF                Entering function TaskBase.OnTaskStop
01/05/2016 19:23:53  16  INF                  Creating the OnTaskStop event for task upgrade
01/05/2016 19:23:53  16  ERR                  Task upgrade has failed
01/05/2016 19:23:53  16  INF                  friendlyMessage for task upgrade is An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: Failed to upgrade SharePoint Products.
01/05/2016 19:23:53  16  INF                  debugMessage for task upgrade is 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()
01/05/2016 19:23:53  16  INF                  Entering function TaskBase.FireTaskStateChanged
01/05/2016 19:23:53  16  INF                    Firing the OnTaskStateChanged event for task upgrade
01/05/2016 19:23:53  16  INF                    Entering function TaskDriver.TaskStateEventHandler
01/05/2016 19:23:53  16  INF                      Entering function StringResourceManager.GetResourceString
01/05/2016 19:23:53  16  INF                        Resource id to be retrieved is UpgradeTaskDisplayName for language English (United States)
01/05/2016 19:23:53  16  INF                        Resource retrieved id UpgradeTaskDisplayName is upgrade SharePoint Products
01/05/2016 19:23:53  16  INF                      Leaving function StringResourceManager.GetResourceString
01/05/2016 19:23:53  16  INF                      Received an TaskStateEventHandler event.  task:upgrade TaskBase.State:stopped
01/05/2016 19:23:53  16  INF                      Entering function TasksQueue.IncrementTaskFailed
01/05/2016 19:23:53  16  INF                        Incremented the number of tasks failed to 1
01/05/2016 19:23:53  16  INF                      Leaving function TasksQueue.IncrementTaskFailed
01/05/2016 19:23:53  16  INF                      Task upgrade has stopped and failed.  Total failed is now 1
01/05/2016 19:23:53  16  INF                    Leaving function TaskDriver.TaskStateEventHandler
01/05/2016 19:23:53  16  INF                    Entering function PsconfigBaseForm.TaskStateEventHandler
01/05/2016 19:23:53  16  INF                      Invoking the UI thread with the task state chagne event
01/05/2016 19:23:53  1  INF                      Entering function ConfigurationProgressForm.InvokeTaskStateEventHandler
01/05/2016 19:23:53  1  INF                        Received an TaskStateEventHandler event.  task:upgrade TaskBase.State:stopped TaskBase.TaskResultupgrade
01/05/2016 19:23:53  1  INF                        Acquiring the reader lock to retrieve the state
01/05/2016 19:23:53  1  INF                        Releasing the reader lock to retrieve the state
01/05/2016 19:23:53  1  INF                        Acquiring the reader lock to retrieve the state
01/05/2016 19:23:53  1  INF                        Releasing the reader lock to retrieve the state
01/05/2016 19:23:53  1  ERR                        Task upgrade has stopped and failed.  Total failed is now 1
01/05/2016 19:23:53  1  INF                        Entering function get CommandCollection.this[string key]
01/05/2016 19:23:53  1  INF                          Entering function CommandCollectionBase.Get
01/05/2016 19:23:53  1  INF                            Found value in collection for key initialize
01/05/2016 19:23:53  1  INF                          Leaving function CommandCollectionBase.Get
01/05/2016 19:23:53  1  INF                          Found command initialize in collection
01/05/2016 19:23:53  1  INF                        Leaving function get CommandCollection.this[string key]
01/05/2016 19:23:53  1  INF                        Entering function Command.this[string key]
01/05/2016 19:23:53  1  INF                          Entering function CommandCollectionBase.Get
01/05/2016 19:23:53  1  INF                            Found value in collection for key wait

EDIT-2 now i run the following command :-

PS C:\Users\staging.user> get-spproduct -local

but i got the following result

ProductName                    Required   Missing              Servers
-----------                    --------   -------              -------
Microsoft SharePoint Server... True                            {}

so does this mean that i have missing updates that i need to install ?

3
  • We need more information for your first question. For example, a copy of the pscdiagnostic logs and associated ULS logging.
    – user6024
    Commented Jan 5, 2016 at 18:55
  • @TrevorSeward i will re-run the wizard and provide the logs ,,, thanks
    – John John
    Commented Jan 5, 2016 at 18:58
  • @TrevorSeward can you please check my edit i provided the related pscdiagnostic logs
    – John John
    Commented Jan 5, 2016 at 19:28

2 Answers 2

1

Always run the second psconfig line you have in your post. the -cmd applicationcontent is critical to deploy binaries to the Web Application's local bin folder. Config Wizard runs the second psconfig line, as well.

9
  • so if i run this manually "PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures " it will be similar to running the product configuration wizard ? i mean will it fix the problem ?
    – John John
    Commented Jan 5, 2016 at 18:58
  • It will be similar to Config Wizard. Can't tell you if it will fix your issue, but you can try it.
    – user6024
    Commented Jan 5, 2016 at 19:00
  • so do i need to run the command inside the bin folder -----> ""C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\BIN>
    – John John
    Commented Jan 5, 2016 at 19:04
  • No, if you run it from the SharePoint Management Shell, it has a path defined for psconfig.
    – user6024
    Commented Jan 5, 2016 at 19:16
  • can you please check my edit i provided the related pscdiagnostic logs
    – John John
    Commented Jan 5, 2016 at 19:28
1

I've always had this problem if I didn't use the install or farm account to run PSCONFIG. If I used another account, it would cause this problem. Try to use the install account or the account that you installed SharePoint with...

6
  • i am using the farm account and this account was used to install the SharePoint .. but the CU were installed using our support team account...
    – John John
    Commented Jan 6, 2016 at 0:54
  • 1
    Are you running thr PSConfig as administrator?
    – Mike
    Commented Jan 6, 2016 at 1:03
  • yes i am running it as administrator , also can you check my Edit-2 section inside my original question .. as i run the following command to check for any missing updates "get-spproduct -local" and it showed one entry with Required=True & Missing="" .. so does this mean that i have missing updates that i need to install ?
    – John John
    Commented Jan 6, 2016 at 1:57
  • Do you have more than one server in the farm? Are you starting with the central administration hosted server? Make sure that any required updates are installed on all servers before running the PSConfig on any servers
    – Mike
    Commented Jan 6, 2016 at 2:44
  • no i only have one server which contain the DB & SharePoint server.. now how i can know that any required updates are installed ? is running the "get-spproduct -local" will show me any missing updates?
    – John John
    Commented Jan 6, 2016 at 13:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.