Friday, October 18, 2019

SharePoint Setup Error - Exception: Could not load file or assembly 'Microsoft.Data.OData

If during the SharePoint Products Configuration Wizard you run through this error below

10/18/2019 14:00:11.23 psconfigui.exe (0x1378) 0x0390 SharePoint Foundation Upgrade ajywy Unexpected 10/18/2019 14:00:11.23 psconfigui (0x1378) 0x0390 SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
10/18/2019 14:00:11.23 psconfigui.exe (0x1378) 0x0390 SharePoint Foundation Topology aj4j4 Unexpected Joining Farm failed. The exception type is Microsoft.SharePoint.Upgrade.SPUpgradeException The exception is One or more types failed to load. Please refer to the upgrade log for more details. StackTrace is 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.SPUp...

Try the following steps:

  1. Download the Windows Communication Framework Data Services 5.6.0 ( https://download.microsoft.com/download/1/C/A/1CAA41C7-88B9-42D6-9E11-3C655656DAB1/WcfDataServices.exe )
  2. Open the WcfDataServices.exe file properties and check if the file is unlocked
  3. Rerun the executable
  4. Click Repair
  5. Rerun the SharePoint Products Configuration Wizard 
Source:  https://blogs.technet.microsoft.com/fromthefield/2016/04/15/spupgradeexception-error-message-when-you-run-the-sharepoint-products-and-technologies-configuration-wizard-when-you-create-a-new-sharepoint-2016-farm/

SharePoint Setup Error - The RPC server is unavailable during SharePoint 2016 Product Configuration

the rpc server is unavailable sharepoint 2016

This is a known issue in SharePoint 2016 Setup and Microsoft released a security update for this. Please follow the steps below to fix the issue:

1.  Download and install the security update (KB3115299)
2.  Reboot the server
3.  Restart the  SharePoint Product Configuration

Source: https://www.sharepointsky.com/the-rpc-server-is-unavailable-sharepoint-2016/

SharePoint Setup Error - A system restart from a previous installation or update is pending. Restart your computer and run setup to continue.

After completing to run the SharePoint 2016 prerequisites in my virtual machine, I got stuck with this screen:

No alt text provided for this image

I tried many times to reboot the computer and run the prerequisites again, without any success. So after a research I found this trick:
  1. Close the SharePoint Setup
  2. Open the Registry Editor
  3. Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Session Manager
  4. Rename PendingFileRenameOperations to OldPendingFileRenameOperations
  5. Start the SharePoint Setup
After doing these steps, I was able to finish my installation.

Source: https://social.technet.microsoft.com/Forums/en-US/718e3354-94b7-4e3e-abd4-0f89a2574ba6/unable-to-install-sharepoint-server-2013-restart-is-required?forum=sharepointadmin