SharePoint Products Configuration Wizard return error: The server must be the local server

HK Power Platform Admin
2 min readJun 23, 2021

Recently we patched our SharePoint 2016 on-premise farm. After patched on all 4 servers in farm and run the Product Configuration Wizard, 1 of server returned error as below:

Failed to register SharePoint services.

This is not a critical task. These failures won’t affect basic functionality, but some sites or pages might not work properly.

An exception of type System.ArgumentException was thrown. Additional exception information: The server must be the local server.

Parameter name: server

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_xxxxxxxxxxxxxxxxx.log

Microsoft’s error is always so funny. What is it mean by an error is not critical but some page might not work? Which page and which function?

However, the error is very precise this time: The server must be the local server.

I was wondering what the xxxx is the message mean. I ran the Wizard by directly remote control the particular server so why it said it is not local?

The true reason is, the server machine name was changed before and not yet reflected in SharePoint configuration. By open SharePoint Central administration -> Servers in farm, the server failed to upgrade is called “SP2016a” while the actual machine name was updated to “SP2016_a” a year ago. After the machine renamed, SharePoint farm is still running well until we patched it. SharePoint cannot find the server “SP2016a”. When I run the Wizard, although the job is done, “SP2016a” is not recognized by the Wizard. i.e. The server must be the local server.

To fix it, I ran PowerShell command:
Rename-SPServer -Identity “SP2016a” -Name “SP2016_a”

Then I checked again in SharePoint Central administration -> Servers in farm. The server name is updated to new & correct name “SP2016_a”. Run Wizard again and this time update is successfully.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

HK Power Platform Admin
HK Power Platform Admin

Written by HK Power Platform Admin

Cannot find SharePoint job. Switched to Power Platform.

No responses yet

Write a response