SharePoint 2016 installation errors

This SharePoint 2016 tutorial, we will discuss how to solve SharePoint 2016 installation errors. Below are a few errors that usually come while installing SharePoint 2016.

  • The program can not start because api-ms-win-crt-runtime-l1-1-0.dll is missing
  • The username is invalid. The account must be a valid domain account.
  • Setup can’t find or validate an installation file
  • A system restart from a previous installation or update is pending
  • Reporting Services Catalog Database File Existence Error while installing SharePoint 2016
  • Operations started by an earlier run of the Farm Configuration Wizard are still in progress error in SharePoint 2016
  • Configuration failed. One or more configuration settings failed
  • New-SPConfigurationDatabase Some or all identity references could not be translated
  • New-SPConfigurationDatabase Server role parameter is required when creating or joining a farm

Here, we will see how to solve the above SharePoint 2016 installation errors.

SharePoint 2016: The program can not start because api-ms-win-crt-runtime-l1-1-0.dll is missing

Now, we will see how to resolve the issue The program can not start because API-ms-win-CRT-runtime-l1-1-0.dll is missing while installing SharePoint 2016 Beta in windows server 2012 R2 machine. This error comes exactly when I run the SharePoint Products Configuration Wizard. When I start this the error comes as:

the program can’t start because API-ms-win-CRT-runtime-l1-1-0.dll is missing. Try reinstalling the program to fix this problem.

The program can not start because api-ms-win-crt-runtime-l1-1-0.dll is missing
The program can not start because api-ms-win-crt-runtime-l1-1-0.dll is missing

Apart from this also you may receive errors like:

An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: Failed to call GetTypes on assembly Microsoft.Office.translation services, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Could not load file or assembly ‘Microsoft.Office.TranslationServices.MachineTranslation.dll’ or one of its dependencies. The specified module could not be found. Could not load file or assembly ‘Microsoft.Office.TranslationServices.MachineTranslation.dll’ or one of its dependencies. The specified module could not be found.

Microsoft.office.server.search.native.dll or one of its dependencies. The specified module could not be found.

It looks like below:

The program can not start because api-ms-win-crt-runtime-l1-1-0.dll is missing error in SharePoint 2016

The problem is with the Windows update and a few installations. I have followed the below approach to solve the issue.

To run your windows update and while checking for updates (To check update go to Start -> Control Panel -> Windows Update), after checking finished you will see in the optional update section about the update on KB2919355 which is around 900MB.

Update this one first and once everything is properly updated, restart the machine one again.

Then download and install KB2999226-x64.

If you will try to install KB2999226 before installing KB2919355 then you might face an issue like below:

The update is not applicable to your computer.

The update is not applicable to your computer

In the last download and install Visual C++ Redistributable for Visual Studio 2015 (64-bit).

It should give a successful message.

I hope this will be helpful to resolve the issue The program can not start because api-ms-win-crt-runtime-l1-1-0.dll is missing which comes while installing SharePoint 2016.

SharePoint 2016: The username is invalid. The account must be a valid domain account

Recently while I was trying to install SharePoint Server 2016, I got the below error which says: The username is invalid. The account must be a valid domain account.

The username is invalid. The account must be a valid domain account

This error usually comes in the “Run Configuration Wizard“. When you run the wizard, In the Specify Configuration Database Settings screen it will ask you for the Database server, Database name, username, and password. Here the username should be Domain\UserName. Here if you put a username which is not a domain account, then you will face the issue.

For this what you can do is you can run the below PowerShell command in the “SharePoint 2013 Management Shell”. Before this make sure you have closed the Run Configuration Wizard window.

New-SPConfigurationDatabase –DatabaseName SharePoint_Config –DatabaseServer WIN-JC2B1V15KM5 –AdministrationContentDatabaseName SharePoint_Content –Passphrase (ConvertTo-SecureString Password@12345 –AsPlaintext –Force) –FarmCredentials (Get-Credential) -localserverrole SingleServerFarm

The above command will create the Config and Content database in your server.

Now you can run the configuration wizard again. This time in the “Connect to a server farm” screen, choose Connect to an existing server farm instead of Create a new server arm.

I hope it will help you to solve the issue The username is invalid. The account must be a valid domain account that comes while installing SharePoint 2016.

SharePoint 2016: Setup can’t find or validate an installation file

Now, we will see how to resolve the SharePoint Server 2016 installation error while installing SharePoint 2016 on Windows Server 2012 R2 machine. The full error comes as: Setup can’t find or validate an installation file. Please try reinstalling Office from your installation source, or if you installed from a downloaded package, please re-download and reinstall. If you continue to have problems, Please contact Microsoft or your system administrator.

The error looks like below:

Setup can’t find or validate an installation file

The error comes when I was trying to install SharePoint Server 2016 on a new Windows Server 2012 R2 machine. When this error comes, I did not have any Office installed in my machine, so I thought the error is coming for that. So I installed Microsoft Office Professional Plus 2013 SP1. And then restarted my machine and then try again to install SharePoint 2016, but I got the same error again.

Then I thought might be it requires Office 2016, So I downloaded Office 2016 trial version and try to run the SharePoint 2016 setup. But to my surprise, I got the same error again.

I was not sure why it is coming even if I tried after installing Office 2013 and Office 2016.

Then what I did is, I again download SharePoint Server 2016 software in the IE browser (previously I downloaded by using Chrome browser) and then extracted the iso file using WinRAR. And then run the setup it worked fine. I did not get any Office error.

Not sure why it behaves like that but downloading the setup using the IE browser solved the issue.

I hope this SharePoint error will not come Setup cannot find or validate an installation file.

SharePoint 2016: A system restart from a previous installation or update is pending

I got this error while trying to install SharePoint Server 2016 on Windows Server R2 machine. I have already run the prerequisite and also it shows a successful message. But when I tried to run the setup file it gave me the below error:

Setup is unable to proceed due to the following error(s):
A system restart from a previous installation or update is pending. Restart your computer and run setup to continue.

Correct the issue(s) listed above and re-run setup. You can install all the required prerequisites for this product by selecting the ‘Install software prerequisites’ option in the splash screen. see Help for more information.

The error screen looks like below:

A system restart from a previous installation or update is pending

What I did is, first I re-run the prerequisiteinstaller.exe (Application file), though it seems it did nothing. But when it shows the prerequisite installation message complete message, I did a system restart.

Then I again run the Setup file and this time it works fine.

I hope this will be helpful to solve the SharePoint 2016 installation error: SharePoint Server 2016 Setup Error A system restart from a previous installation or update is pending.

Reporting Services Catalog Database File Existence Error while installing SharePoint 2016

Now, we will see how to fix an error that comes while installing SharePoint 2016. The error comes as:
Reporting services catalog database file existence Failed.
Reporting services catalog temporary database file existence Failed. It looks like below:

Reporting Services Catalog Database File Existence Error while installing SharePoint 2016

If you look at the details error it looks like below:

Reporting services catalog database file existence Failed
Reporting services catalog temporary database file existence Failed

The user error usually comes if the MDF and ldf files did not delete properly from the installation drive. If you go to the below directory:
C:\Program Files\Microsoft SQL Server\MSSQL11.MSSSQLSERVER\MSSQL\DATA

You will be able to see:

  • ReportServer.mdf
  • ReportServer_log.ldf
  • ReportServerTempDB.mdf
  • ReportServerTempDB_log.ldf

It looks like below:

Reporting services catalog database file existence Failed.

Delete those files and then rerun the wizard again. The error Reporting services catalog database file existence Failed will not come.

Operations started by an earlier run of the Farm Configuration Wizard are still in progress error in SharePoint 2016

Now, we will see how to fix error “Operations started by an earlier run of the Farm Configuration Wizard are still in progress” which comes when you try to run Configuration Wizard in SharePoint 2016 central administration.

Recently after installing SharePoint 2016 in my laptop when I run the Farm Configuration Wizard, after running sometimes it gave a request timeout error and when I tried to run again it gave the below error.

First time if you are installing SharePoint 2016 Beta version, then you might face this issue The program can not start because API-ms-win-CRT-runtime-l1-1-0.dll is missing.

Sorry, something went wrong
Operations started by an earlier run of the Farm Configuration Wizard are still in progress. You must wait for those operations to complete before running the wizard again. You can monitor the status of these operations by looking at the “Farm Configuration Wizard” timer job on the Timer Job Status page in the Monitoring section of Central Administration.
TECHNICAL DETAILS

Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: b9235d9d-e584-70ef-0000-06a36096ff19

sharepoint 2016 Operations started by an earlier run of the Farm Configuration Wizard are still in progress

After running Farm Configuration Wizard for some time it gave the request timeout error and then when I try to rerun the wizard, it gave the above error.

When I go to Monitoring -> click on “Check job status” under Timer Jobs I saw “Farm Configuration Wizard” timer job is still running. It shows like below:

Operations started by an earlier run of the Farm Configuration Wizard are still in progress sharepoint 2016

Then I click on that job and in the Edit Timer Job, I delete it by clicking on the Delete button as shown in the fig below:

Operations started by an earlier run of the Farm Configuration Wizard are still in progress

Then I start again Farm Configuration Wizard and it started correctly and you will not get error, Operations started by an earlier run of the Farm Configuration Wizard are still in progress in SharePoint 2016.

Configuration failed. One or more configuration settings failed error while installing SharePoint 2016

Now, we will see how to fix the error, Configuration failed error while installing SharePoint Server 2016. This error usually comes when you run your SharePoint product configuration wizard and after giving your database details.

This error also comes if you are trying to run create configuration database by using SharePoint 2015 Management Shell. The error comes as: One or more configuration settings failed. Completed configuration settings will not be rolled back. Resolve the problem and run this configuration wizard again. The following contains detailed information about the failure:

Failed to connect to the configuration database.

An exception of type System.NullReferenceException was thrown. Additional exception information: Object reference not set to an instance of an object.

The error comes when I tried to run the New-SPConfigurationDatbase command from the Management Shell. The full command was like this:

New-SPConfigurationDatabase –DatabaseName SharePoint_Config –DatabaseServer WIN-JC2B1V15KM5 –AdministrationContentDatabaseName SharePoint_Content –Passphrase (ConvertTo-SecureString Qwerty@12345 –AsPlaintext –Force) –FarmCredentials (Get-Credential) -localserverrole SingleServerFarm

And the error came as like below:

Configuration failed sharepoint 2016

The account which I was using does have proper permission, so it was not able to create the configuration database. The below permission is required to create a configuration database:

  • Dbcreator
  • SecurityAdmin
  • SysAdmin

When I gave proper permission and then try to re-run the PowerShell command, it runs successfully and also when I run the product and configuration wizard I did not get the issue.

New-SPConfigurationDatabase Some or all identity references could not be translated in SharePoint 2016

Now, we will see how to fix an error, New-SPConfigurationDatabase Some or all identity references could not be translated which comes while installing SharePoint 2016.

While I executed the below SharePoint 2016 management shell command I gave the below error.

New-SPConfigurationDatabase –DatabaseName SharePoint_Config –DatabaseServer WIN-JC2B1V15KM5 –AdministrationContentDatabaseName SharePoint_Content –Passphrase (ConvertTo-SecureString Qwerty@12345 –AsPlaintext –Force) –FarmCredentials (Get-Credential) -localserverrole SingleServerFarm

The error looks like below:

New-SPConfigurationDatabase Some or all identity references could not be translated

After this command it usually creates the databases, so make sure the account you are using should have below permission levels in SQL server:

  • Dbcreator
  • SecurityAdmin
  • SysAdmin

Assign the above permission and re-run the command it should work fine. Make sure before starting from the beginning you need to manually delete the config database which was created before.

New-SPConfigurationDatabase Server role parameter is required when creating or joining a farm

While installing SharePoint 2016, I got the below error which says New-SPConfigurationDatabase Server role parameter is required when creating or joining a farm. The error comes when I run New-SPConfigurationDatabase through SharePoint 2016 Management Shell.

When I run New-SPConfigurationDatabase command it asked me about DatabaseName, DatabaseServer, FarmCredentials & Passphrase. After I gave all the details it shows me error “New-SPConfigurationDatabase Server role parameter is required when creating or joining a farm.” like below:

New-SPConfigurationDatabase Server role parameter is required when creating or joining a farm

In SharePoint Server 2016 MinRole you need to give while installing, this can be used to specify the role that should be assigned to a specific server when configuring SharePoint Products and Technologies. The MinRole can be like below:

Role NameParameterDescription
Special LoadSpecialLoadReserved for services to be isolated from other services, I.e. 3rd party, PerformancePoint, etc.
Web Front EndWebFrontEndServices end user requests, optimized for low latency.
Single Server FarmSingleServerFarmProvisions all services on the server for a single server deployment.  This role is provided for evaluation and development purposes.
SearchSearchReserved for Search services.
ApplicationApplicationServices the backend jobs or the requests triggered by backend jobs, optimized for high throughput.
Distributed CacheDistributedCacheServices distributed cache for the farm. Optionally, the server assigned to this role can load balance end-user requests among the web front ends.

So I modified the PowerShell command like below:

New-SPConfigurationDatabase –DatabaseName SharePoint_Config –DatabaseServer WIN-JC2B1V15KM5 –AdministrationContentDatabaseName SharePoint_Content –Passphrase (ConvertTo-SecureString Qwerty@12345 –AsPlaintext –Force) –FarmCredentials (Get-Credential) -localserverrole SingleServerFarm

Here -localserverrole SingleServerFarm is the main parameter.

This is how we can fix a SharePoint 2016 error as, New-SPConfigurationDatabase Server role parameter is required when creating or joining a farm.

A system restart from a previous installation or update is pending error in SharePoint

Now we will see how to fix the error, “A system restart from a previous installation or update is pending error in SharePoint” error which comes while running the setup.exe for Microsoft SharePoint server.

Error Message:
Setup is unable to proceed due to the following error(s):
A system restart from a previous installation or update is pending. Restart your computer and run the setup to continue.

Solution:
To solve this issue, you have to delete the following registry key.

To delete the FileRenameOperations registry key

Open a registry editor, such as Regedit.exe or Regedt32.exe.

Navigate to HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\
In the right navigation pane, right-click the PendingFileRenameOperations key and select Delete.

Close Registry Editor

You may like following SharePoint 2016 tutorials:

This tutorial, we learned how to solve various SharePoint 2016 installation errors. Usually, you will get below errors while installing SharePoint 2016.

  • The program can not start because api-ms-win-crt-runtime-l1-1-0.dll is missing.
  • The username is invalid. The account must be a valid domain account.
  • Setup can’t find or validate an installation file.
  • A system restart from a previous installation or update is pending.
  • Operations started by an earlier run of the Farm Configuration Wizard are still in progress
  • Reporting Services Catalog Database File Existence Error while installing SharePoint 2016
  • Operations started by an earlier run of the Farm Configuration Wizard are still in progress
  • New-SPConfigurationDatabase Some or all identity references could not be translated
  • New-SPConfigurationDatabase Server role parameter is required when creating or joining a farm
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

>