Environment: SharePoint 2016 Enterprise RTM, Windows Server 2012 R2
Scenario: Install SharePoint 2016 Enterprise RTM and configure
Issue: The SharePoint Products Configuration Wizard failed throwing ‘One or more types failed to load’
Troubleshooting:
- Looked into the configuration log file and noticed the following error message
Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral’
- Download and Install the WCF Data Services Client for OData package and NuGet package Manager
- Use NuGet package manager to install the OData package
- Upgrade if you already have NuGet in your machine using following command
Nuget.exe update –self (This automatically get the update from web using your internet)
- The package can be installed from Visual Studio by navigating to Tools > NuGet Package Manager > Package Manager Console
- Make sure that you open a sample web project and execute the following command to install the package.
Install-package Microsoft.Data.OData
- Run the configuration wizard again successfully
Why would i install Visual Studio to get a NuGet package on my sharepoint server?
ReplyDelete