Errors you may meet when install SharePoint 2016

When I install and deploy SharePoint 2016, I find a very useful blog which instructs the installation step by step.

http://mstechtalk.com/sharepoint-server-2016-installation-step-by-step

But I still encounter some issues when install and deploy SharePoint 2016, and I will introduce how to solve them in this blog.

1. Error in process of Prerequisite installation.

When I run the Install Prerequisite, the “There was an error during installation.” error appears as following.

SP2016-E-1

This means I need to download and install the specified installers according to error message. And following installers are SharePoint2016 Prerequisites (Beta2, RTM):

  • Microsoft SQL Server 2012 Native Client (SQLnCli.msi)
  • Microsoft ODBC Driver 11 for SQL Server (msodbcsql.msi)
  • Microsoft Sync Framework Runtime v1.0 SP1 (SyncSetup_en.x64.zip)
  • Windows Server AppFabric (WindowsServerAppFabricSetup_x64.exe)
  • Microsoft Identity Extensions (MicrosoftIdentityExtensions-64.msi)
  • Microsoft Information Protection and Control Client 2.1 (setup_msipc_x64.exe)
  • Microsoft WCF Data Services 5.6 (WcfDataServices.exe)
  • Microsoft .NET Framework 4.5.2 (NDP452-KB2901907-x86-x64-AllOS-ENU.exe)
  • Microsoft .NET Framework 4.6 (NDP461-KB3102436-x86-x64-AllOS-ENU.exe)
  • Cumulative Update Package 7 for Microsoft AppFabric 1.1 for Windows Server (KB3092423) (AppFabric1.1-RTM-KB2671763-x64-ENU.exe)
  • Visual C++ Redistributable Package for Visual Studio (vc_redist.x64.exe)

Install all above prerequisites manually or using command, and run the install Prerequisite again, it shows Install Completely.

2. Error “This program can’t start because api-ms-win-crt-heap-l1-1-0.dll is missing from your computer.” occurs when running SharePoint Products Configuration Wizard.

SP2016-E-2

This issue is caused by missed update patches (Windows 10 Universal Runtime update) for Windows  Server 2012 R2. Download and install Windows Server 2012 R2 patch KB299926 to resolve this issue. Unfortunately, another problem appears “The update is not applicable to your computer.”

SP2016-E-3

OK, Windows 10 Universal C Runtime KB2999226, is dependent on a Windows Server 2012 R2 Cumulative Update package in KB2919355. So, check windows updates, select patch KB2919355 and install it. Then the issue will be resolved. Afterwards, install the Windows 10 Universal C Runtime.

3. Products Configuration Wizard failed with following error “Failed to create configuration database. An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: One or more types failed to load. Please refer to the upgrade log for more details.”

SP2016-E-4

That’s because I download and install them manually instead of using the prerequisiteinstaller.exe when I encounter the prerequisites installation errors, it causes a different issue when attempting to create a farm through the Products Configuration Wizard.

Solution: Uninstall WcfDataServices and then reinstalling the WcfDataServices using the prequisiteinstaller.exe automatically or using command with the appropriate parameter.

prerequisiteinstaller.exe /wcfdataservices56: WcfDataServices.exe location

After that, delete two databases from SQL Server which are created by previous psconfiguration, then run Products Configuration Wizard again, it will be successful.

7 Responses

  1. Annonymous
    Annonymous at |

    Please help me resolve my error while creating the database….. I’ve checked the database rights and connectivity already.

    07/05/2016 07:09:14 9 ERR Task configdb has failed with an unknown exception
    07/05/2016 07:09:14 9 ERR Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load. Please refer to the upgrade log for more details.
    at Microsoft.SharePoint.Upgrade.SPActionSequence.LoadUpgradeActions()
    at Microsoft.SharePoint.Upgrade.SPActionSequence.get_Actions()
    at Microsoft.SharePoint.Upgrade.SPActionSequence.get_ActionsInternal()
    at Microsoft.SharePoint.Upgrade.SPUtility.GetLatestTargetSchemaVersionBeforeMajorVersion(Type typeActionSequence, Int32 majorVer)
    at Microsoft.SharePoint.Upgrade.SPSiteSequence.get_PreviousTargetSchemaVersion()
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.PopulateSequencesTable(StringBuilder sqlstr, Boolean siteSequence)
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ConstructSiteNeedsUpgradeQuery(Guid siteId)
    at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.GetSiteNeedsUpgrade(SPUpgradeSession session, SPContentDatabase database, Dictionary`2& dictSitesNeedUpgrade, Dictionary`2& dictSitesNeedFeatureUpgrade)
    at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.AddNextLevelObjects()
    at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, Boolean bRecursing, SPDelegateManager delegateManager)
    at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, SPDelegateManager delegateManager)
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
    at Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalUpgradeStatus()
    at Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalProductVersions(SPProductVersions prodVer)
    at Microsoft.SharePoint.Administration.SPServerProductInfo.UpdateProductInfoInDatabase(Guid serverGuid)
    at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost, Nullable`1 serverRole)
    at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
    at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
    at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

  2. Anton
    Anton at |

    Nice work!

  3. Peter
    Peter at |

    Had also the problem with:
    Products Configuration Wizard failed with following error “Failed to create configuration database. An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: One or more types failed to load. Please refer to the upgrade log for more details.”

    My solution was:
    Visual Studio 2013 was installed on this machine. This prevented (skipped) for some reason the installation of the WCF Data Services with the Prerequisite Installation. Uninstalled VS 2013, uninstalled SharePoint 2016, restarted Prerequisite Installation and everything went fine….

  4. toro
    toro at |

    how do you resolve a WFC setup failure? Cert is expired.. I saw a post about changing the system date.. that didn’t work

  5. Carolina
    Carolina at |

    Rocky, Pleaseee….How Uninstall WcfDataServices?

  6. Carolina
    Carolina at |

    I resolve it

  7. Carolina
    Carolina at |

    Rocky I followed the instructions of error 3 and it was a success !!!! thank you very much for your contribution!!!

Leave a Reply