none
SharePoint 2016 - Error running PSConfig ui or command line RRS feed

  • Question

  • Hello,

    I am having some issues successfully running PSconfig. UI. I tried the steps in this article but am still having issues.

    https://social.technet.microsoft.com/wiki/contents/articles/30838.psconfig-wizard-fails-after-you-install-any-update-on-sharepoint-server.aspx

    Here is a snippet from the log file generated by the command line:

    08/19/2019 10:34:56  12  ERR            Unexpected: copy SideBySide files for In Place Upgrade failed. Please see details in log file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\LOGS\CopySideBySideFiles_8_19_2019_10_34_47_480_741477912.log
    08/19/2019 10:34:56  12  INF            Entering function Common.ThrowNewInvalidOperationException
    08/19/2019 10:34:56  12  ERR              Copy SideBySide files for In Place Upgrade failed.
    08/19/2019 10:34:56  12  INF              Entering function StringResourceManager.GetResourceString
    08/19/2019 10:34:56  12  INF                Resource id to be retrieved is InvalidOperationException for language English (United States)
    08/19/2019 10:34:56  12  INF                Resource retrieved id InvalidOperationException is An internal error occurred.  The program cannot continue to run.  The program stopped because of the following: {0}
    08/19/2019 10:34:56  12  INF              Leaving function StringResourceManager.GetResourceString
    08/19/2019 10:34:56  12  INF            Leaving function Common.ThrowNewInvalidOperationException
    08/19/2019 10:34:56  12  ERR            Task finalize has failed with an unknown exception
    08/19/2019 10:34:56  12  ERR            Exception: System.InvalidOperationException: An internal error occurred.  The program cannot continue to run.  The program stopped because of the following: Copy SideBySide files for In Place Upgrade failed.
       at Microsoft.SharePoint.PostSetupConfiguration.Common.ThrowNewInvalidOperationException(String exceptionData)
       at Microsoft.SharePoint.PostSetupConfiguration.FinalizeTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    08/19/2019 10:34:56  12  INF            Entering function Common.BuildExceptionMessage
    08/19/2019 10:34:56  12  INF              Entering function StringResourceManager.GetResourceString
    08/19/2019 10:34:56  12  INF                Resource id to be retrieved is ExceptionInfo for language English (United States)
    08/19/2019 10:34:56  12  INF                Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
    08/19/2019 10:34:56  12  INF              Leaving function StringResourceManager.GetResourceString

    regards,


    Sherazad

    Monday, August 19, 2019 2:39 PM

All replies

  • Try running the below command and then try running PSConfig.

    Copy-SPSideBySideFiles -LogFile "C:\CopySideBySideFiles.log"

    PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources -cmd services -install
    Thanks & Regards,


    sharath aluri



    Monday, August 19, 2019 2:47 PM
  • Hi Sharath,

    Thank you for the response.  I am getting the following error when run the first command and the log file is actually not created. Any more ideas?

    thanks,


    Sherazad

    Monday, August 19, 2019 3:30 PM
  • Can you share the log file to us to look into it.

    sharath aluri

    Monday, August 19, 2019 3:36 PM
  • Hi Sharath, there are space restrictions. So I am including the first line and the first error.

    Begin trace logging for SharePoint 2016 Products Configuration Wizard.  Version 16.0.4318.1000

    08/19/2019 11:33:01  5  ERR            Unexpected: copy SideBySide files for In Place Upgrade failed. Please see details in log file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\LOGS\CopySideBySideFiles_8_19_2019_11_33_0_896_1909326846.log
    08/19/2019 11:33:01  5  INF            Entering function Common.ThrowNewInvalidOperationException
    08/19/2019 11:33:01  5  ERR              Copy SideBySide files for In Place Upgrade failed.
    08/19/2019 11:33:01  5  INF              Entering function StringResourceManager.GetResourceString
    08/19/2019 11:33:01  5  INF                Resource id to be retrieved is InvalidOperationException for language English (United States)
    08/19/2019 11:33:01  5  INF                Resource retrieved id InvalidOperationException is An internal error occurred.  The program cannot continue to run.  The program stopped because of the following: {0}
    08/19/2019 11:33:01  5  INF              Leaving function StringResourceManager.GetResourceString
    08/19/2019 11:33:01  5  INF            Leaving function Common.ThrowNewInvalidOperationException
    08/19/2019 11:33:01  5  ERR            Task finalize has failed with an unknown exception
    08/19/2019 11:33:01  5  ERR            Exception: System.InvalidOperationException: An internal error occurred.  The program cannot continue to run.  The program stopped because of the following: Copy SideBySide files for In Place Upgrade failed.
       at Microsoft.SharePoint.PostSetupConfiguration.Common.ThrowNewInvalidOperationException(String exceptionData)
       at Microsoft.SharePoint.PostSetupConfiguration.FinalizeTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    08/19/2019 11:33:01  5  INF            Entering function Common.BuildExceptionMessage
    08/19/2019 11:33:01  5  INF              Entering function StringResourceManager.GetResourceString
    08/19/2019 11:33:01  5  INF                Resource id to be retrieved is ExceptionInfo for language English (United States)
    08/19/2019 11:33:01  5  INF                Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
    08/19/2019 11:33:01  5  INF              Leaving function StringResourceManager.GetResourceString
    08/19/2019 11:33:01  5  INF            Leaving function Common.BuildExceptionMessage
    08/19/2019 11:33:01  5  INF            Entering function Common.BuildExceptionInformation
    08/19/2019 11:33:01  5  INF              Entering function Common.BuildExceptionMessage
    08/19/2019 11:33:01  5  INF                Entering function StringResourceManager.GetResourceString
    08/19/2019 11:33:01  5  INF                  Resource id to be retrieved is ExceptionInfo for language English (United States)
    08/19/2019 11:33:01  5  INF                  Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
    08/19/2019 11:33:01  5  INF                Leaving function StringResourceManager.GetResourceString
    08/19/2019 11:33:01  5  INF              Leaving function Common.BuildExceptionMessage
    08/19/2019 11:33:01  5  INF            Leaving function Common.BuildExceptionInformation
    08/19/2019 11:33:01  5  ERR            An exception of type System.InvalidOperationException was thrown.  Additional exception information: An internal error occurred.  The program cannot continue to run.  The program stopped because of the following: Copy SideBySide files for In Place Upgrade failed.
    System.InvalidOperationException: An internal error occurred.  The program cannot continue to run.  The program stopped because of the following: Copy SideBySide files for In Place Upgrade failed.
       at Microsoft.SharePoint.PostSetupConfiguration.Common.ThrowNewInvalidOperationException(String exceptionData)
       at Microsoft.SharePoint.PostSetupConfiguration.FinalizeTask.Run()


    Sherazad

    Monday, August 19, 2019 3:53 PM
  • Try enabling the side by side file copy process before you upgrade. run the below commands on all your SharePoint Servers.

    $webapp = Get-SPWebApplication <webappURL>
    $webapp.WebService.EnableSideBySide = $true
    $webapp.WebService.update()

    Then ran the PSConfig command from below.

    PSCONFIG.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources -cmd services -install

    After all servers have been through PSCONFIG successfully, remember to run the SharePoint 2016 Management Shell command below to switch to the new user interface files and complete the side-by-side process:

    $webapp.WebService.SideBySideToken = <current build number in quotes, ex: "16.0.4338.1000">
    $webapp.WebService.update()

    Below article for your reference:

    https://docs.microsoft.com/en-us/SharePoint/upgrade-and-update/sharepoint-server-2016-zero-downtime-patching-steps

    Thanks & Regards,


    sharath aluri

    Tuesday, August 20, 2019 1:07 PM
  • Hi Sharath,

    Thank you for the information. Still getting the same error when running the PSConfig command. Any other suggestions?

    thanks,


    Sherazad

    Tuesday, August 20, 2019 1:25 PM
  • At which step does the Psconfig fails? 

    What is the error you get on upgrade logs ? 


    Priti Arya

    Tuesday, August 20, 2019 4:10 PM
  • It is failing at the last step. 

    Here are the details from the log:

    08/20/2019 11:50:05  13  INF            Entering function Common.BuildExceptionMessage
    08/20/2019 11:50:05  13  INF              Entering function StringResourceManager.GetResourceString
    08/20/2019 11:50:05  13  INF                Resource id to be retrieved is ExceptionInfo for language English (United States)
    08/20/2019 11:50:05  13  INF                Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
    08/20/2019 11:50:05  13  INF              Leaving function StringResourceManager.GetResourceString
    08/20/2019 11:50:05  13  INF            Leaving function Common.BuildExceptionMessage
    08/20/2019 11:50:05  13  INF            Entering function Common.BuildExceptionInformation
    08/20/2019 11:50:05  13  INF              Entering function Common.BuildExceptionMessage
    08/20/2019 11:50:05  13  INF                Entering function StringResourceManager.GetResourceString
    08/20/2019 11:50:05  13  INF                  Resource id to be retrieved is ExceptionInfo for language English (United States)
    08/20/2019 11:50:05  13  INF                  Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
    08/20/2019 11:50:05  13  INF                Leaving function StringResourceManager.GetResourceString
    08/20/2019 11:50:05  13  INF              Leaving function Common.BuildExceptionMessage
    08/20/2019 11:50:05  13  INF            Leaving function Common.BuildExceptionInformation
    08/20/2019 11:50:05  13  ERR            An exception of type System.InvalidOperationException was thrown.  Additional exception information: An internal error occurred.  The program cannot continue to run.  The program stopped because of the following: Copy SideBySide files for In Place Upgrade failed.
    System.InvalidOperationException: An internal error occurred.  The program cannot continue to run.  The program stopped because of the following: Copy SideBySide files for In Place Upgrade failed.
       at Microsoft.SharePoint.PostSetupConfiguration.Common.ThrowNewInvalidOperationException(String exceptionData)
       at Microsoft.SharePoint.PostSetupConfiguration.FinalizeTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()



    Sherazad

    Tuesday, August 20, 2019 5:17 PM
  • Can you try only this command "Copy-SpSidebySideFiles" do not provide any parameter. See if that works.... 


    Priti Arya

    Wednesday, August 21, 2019 9:55 AM
  • Hi Priti,

    I tried that. Below is the error message:

    PS C:\Users\svc-portal-dev> Copy-SpSidebySideFiles
    Unexpected: copy SideBySide files for In Place Upgrade failed. Please see detail
    s in log file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensio
    ns\16\LOGS\CopySideBySideFiles_8_21_2019_8_41_46_703_249862365.log
    Copy-SpSidebySideFiles : Could not find any resources appropriate for the
    specified culture or the neutral culture.  Make sure "pipeline.resources" was
    correctly embedded or linked into assembly "System.Management.Automation" at
    compile time, or that all the satellite assemblies required are loadable and
    fully signed.
    At line:1 char:1
    + Copy-SpSidebySideFiles
    + ~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidData: (Microsoft.Share...tInPlaceUpgrade:
       SPCmdletInPlaceUpgrade) [Copy-SPSideBySideFiles], MissingManifestResourceE
      xception
        + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletInPlaceU
       pgrade


    Sherazad

    Wednesday, August 21, 2019 12:43 PM
  • This error seem to point us to right direction. 

    "Copy-SpSidebySideFiles : Could not find any resources appropriate for the
    specified culture or the neutral culture.  Make sure "pipeline.resources" was
    correctly embedded or linked into assembly "

    I got below article, I have never tried it myself, so suggest to try to Test environment first and may be consult SQL team to get more details and impact of running this. 

    https://stackoverflow.com/questions/18071729/how-to-diagnose-this-exception-from-invoke-sqlcmd

    https://www.oipapio.com/question-6454083 


    Priti Arya

    Wednesday, August 21, 2019 12:52 PM
  • Hi Priti,

    Am I running those commands via PowerShell on the database server or the SharePoint front end?

    thanks,


    Sherazad

    Wednesday, August 21, 2019 1:16 PM
  • It should be on front end

    Priti Arya

    Wednesday, August 21, 2019 1:25 PM