In this post we will discuss how we can resolve a pathetic error that 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.SPFarmFactory.CreateTimerService(SPFarm farm)
at Microsoft.SharePoint.Administration.SPFarmFactory.CreateBasicServices(SPFarm farm)
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, SqlConnectionStringBuilder siteMapDatabase, IdentityType identityType, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
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.
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…
Then in the Login Properties dialog box for the user. Click on Server Roles then select the below server roles:
Then click on User Mappings tab, Select the db owner role checkbox for the below databases:
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:
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:
- Browsers Supported in SharePoint online
- User Information List in SharePoint
- All about Publishing Infrastructure Feature in SharePoint 2013 and SharePoint 2016
- Alternate Access Mapping in SharePoint 2016
- Site content and structure missing in SharePoint 2016/2013/Online
- Different ways to Retrieve logged in user details in SharePoint 2013 or SharePoint 2016
- SharePoint 2016 User Profile Service Application (UPSA) configuration step by step tutorial
- SharePoint 2016/2013 event receiver example using Visual Studio 2017
- How to add HTML file in the content editor in SharePoint 2016/2013/Online
I hope this article will help you to resolve The RPC server is unavailable error in SharePoint 2016.
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 SPGuides.com