the RPC server is unavailable error while installing SharePoint 2016

In this post we will discuss how we can resolve a pathetic error which comes while installing SharePoint 2016. The error comes as The RPC server is unavailable. The error usually comes in the 3rd step while you run the SharePoint configuration wizard after installing SharePoint 2016. The error comes as:

Exception: System.InvalidOperationException: An error occurred while getting information about the user Administrator at server MySP.local: The RPC server is unavailable
at Microsoft.SharePoint.Win32.SPNetApi32.NetUserGetInfo1(String server, String name)
at Microsoft.SharePoint.Administration.SPManagedAccount.GetUserAccountControl(String username)
at Microsoft.SharePoint.Administration.SPManagedAccount.Update()
at Microsoft.SharePoint.Administration.SPProcessIdentity.Update()
at Microsoft.SharePoint.Administration.SPWindowsService.Update()
at Microsoft.SharePoint.Administration.SPFarmFactory.CreateTimerService(SPFarm farm)
at Microsoft.SharePoint.Administration.SPFarmFactory.CreateBasicServices(SPFarm farm)
at Microsoft.SharePoint.Administration.SPFarmFactory.Create()
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, SqlConnectionStringBuilder siteMapDatabase, IdentityType identityType, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

 the rpc server is unavailable error while installing sharepoint 2016

the rpc server is unavailable error while installing sharepoint 2016

the RPC server is unavailable SharePoint 2016

I was trying to install SharePoint 2016 on my Windows Server 2012 R2 machine and also I was using SQL Server 2012 enterprise edition. The installation was successful, but when I run the configuration wizard it gave the above error.

Then I google and did the below approaches:
ipconfig /flushdns
ipconfig /registerdns

Also, I tried adding the IP address of DC into the host file that also did not work.

Then I uninstall everything and again install SQL server 2014 this time.

Again the same issue comes, same error.

the RPC server is unavailable SharePoint 2016

Here I am going to explain what are the steps I followed to solve the issue. But all the steps may not be necessary. The below step I did and it started working.

I was using the main Administrator (MYSP\Administrator) domain account in the configuration wizard. Basically, I was giving this account and database name.
I think there was some issue with the account.

So I first go to Server Manager -> Tools -> Active Directory Users and Computers. There I created a user.

Here the user is a member of local users groups.

Then open SQL Server Management Studio (Logged in windows authentication). Add the user into SQL server 2014. For this expand security tab -> Logins (Right Click) -> New Login…

the rpc server is unavailable error while installing sharepoint 2016

the rpc server is unavailable error while installing sharepoint 2016

Then in the Login Properties dialog box for the user. Click on Server Roles then select the below server roles:

  • dbcreator
  • public
  • securityadmin
the rpc server is unavailable error while installing sharepoint 2019

the rpc server is unavailable error while installing sharepoint 2019

Then click on User Mappings tab, Select the db owner role checkbox for the below databases:

  • master
  • model
  • tempdb
the rpc server is unavailable error while installing sharepoint 2016

the rpc server is unavailable error while installing sharepoint 2016

After this now I run the configuration wizard and this time I gave the database name and my newly created username and password. And it worked successfully.

Also, Microsoft has released a patch which can be downloaded from the below link:

https://www.microsoft.com/en-us/download/details.aspx?id=53287

Download it, install it, restart the machine and try configuring again. This also works for me once while I was installing in another machine.

Also, make sure the firewall settings are disabled. You can check it by following below steps:

Go to Control Panel -> click on System and Security. Then click on Check firewall status. Here I have disabled the Firewall settings.

You may like following SharePoint 2016 tutorials:

Hope this article will help you to resolve The RPC server is unavailable error in SharePoint 2016.

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

>