Error when running the configuration wizard after applying CU's (Feb 2023) for Sharepoint 2016 server after a fresh install.

Greg Booth 1,371 Reputation points
2023-02-23T16:11:33.1666667+00:00

I completed a fresh install of Sharepoint 2016 (pre-reqs install successful, then sharepoint install, then run config wizard 1st time). All completed successfully.

This is on a single server farm, with a seperate database server.

Next step was to apply the latest CU's to I applied the Feb 2023 CU's by running

wssloc2016-kb5002325-fullfile-x64-glb.exe

sts2016-kb5002350-fullfile-x64-glb.exe

in that order, reboot after each one.

Then I ran the configuration wizard, which reported errors.

The configuration failed dialog box says:

"Failed to upgrade SharePoint Products.

This is a critical task. You have to fix the failures before you can continue. Follow this link for more information about how to troubleshoot upgrade failures: https://go.microsoft.com/fwlink/?LinkId=259653


An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: 
Failed updating SecurityMode and ProtectionLevel in cluster. [Exception=System.Management.Automation.ParameterBindingException: A parameter cannot be found that matches parameter name 'Path'.]          (EventID:0)
 
Upgrade completed with errors.  Review the upgrade log file located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\LOGS\Upgrade-20230223-145750-839-9d8983cac2ac4de698971fc66610e9bf.log.  The number of errors and warnings is listed
 

To diagnose the problem, review the application event log and the configuration log file located at:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\LOGS\PSCDiagnostics_2_23_2023_14_57_24_899_1593132773.log"

i.e. error message appears to be

Failed updating SecurityMode and ProtectionLevel in cluster. [Exception=System.Management.Automation.ParameterBindingException: A parameter cannot be found that matches parameter name 'Path'.]       

there is an error line in the log file that says

SharePoint Foundation Upgrade UpdateClusterConfigurationInSPDistributedCache (16.0.4.1) 0

ERROR Failed updating SecurityMode and ProtectionLevel in cluster. [Exception=System.Management.Automation.ParameterBindingException: A parameter cannot be found that matches parameter name 'Path'. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at Microsoft.SharePoint.DistributedCaching.Utilities.SPVelocityPowerShellWrapper.ExportCacheClusterConfig(String provider, String connectionString, String path) at Microsoft.SharePoint.Upgrade.UpdateClusterConfigurationInSPDistributedCache.Upgrade()] 00000000-0000-0000-0000-000000000000

And another

02/23/2023 15:00:54.30 OWSTIMER (0x1BD8) 0x056C SharePoint Foundation Upgrade SPUpgradeSession aj0ur

ERROR Upgrade completed with errors. Review the upgrade log file located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\LOGS\Upgrade-20230223-145750-839-9d8983cac2ac4de698971fc66610e9bf.log. The number of errors and warnings is listed at the end of the upgrade log file. 710f99a0-f9f5-2015-1576-e2396198769d

02

(it says review the upgrade log which is the same file)

Towwards the bottom of the log file it says

INFO Upgrade session failed. 2 errors and 0 warnings encountered. 710f99a0-f9f5-2015-1576-e2396198769d

Microsoft 365 and Office | SharePoint Server | For business
{count} votes

Accepted answer
  1. Stefan Goßner 656 Reputation points Microsoft Employee
    2023-02-23T17:47:34.12+00:00

    Hi Greg,

    if you have a single server farm with distributed cache configured then this will be the server hosting the distributed cache. And it seems you already used that server to export the configuration where you identified the incorrect configuration. With other words: the reg permission change needs to be on the one server you have in this scenario.

    Cheers,

    Stefan

    More details: https://blog.stefan-gossner.com/2023/02/16/trending-issue-distributed-cache-problems-after-applying-january-2023-cu/


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.