Problem
You receive error "The tool was unable to install the Web Server (IIS) Role" message when installing SharePoint 2019 prerequisites. Before starting with the actual setup, there are a bunch of pre-requisites which are required.
Reason
This may happen if the Windows server on which SharePoint installation is going on, is not connected to the internet. In such case, the tool may not be able to download the required prerequisites before initiating the installation. Ensure that the server is connected to the network and internet is available.
How to fix ?
- Connect the server to internet and retry installation.
- If problem is not resolved, use ISO file or DVD to install the prerequisites.
- Use PowerShell command Install-WindowsFeature to install required features offline.
- Reboot Server and use wizard for installation.
Import-Module Servermanager
Install-WindowsFeature NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-Pipe-Activation45,NET-WCF-HTTP-Activation45,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Asp-Net45,Web-Net-Ext,Web-Net-Ext45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Windows-Identity-Foundation,Xps-Viewer -IncludeManagementTools -verbose - Source F:\sources\sxs
List prerequisites for SharePoint 2019
- Web Server (IIS) role
- Windows Process Activation Service feature
- Microsoft .NET Framework version 3.5
- Microsoft .NET Framework version 4.7.2
- Microsoft SQL Server 2012 Service Pack 4 Native Client
- Microsoft WCF Data Services 5.6
- Microsoft Identity Extensions
- Microsoft Information Protection and Control Client 2.1 (MSIPC)
- Microsoft Sync Framework Runtime v1.0 SP1 (x64)
- Windows Server AppFabric 1.1
- Cumulative Update Package 7 for Microsoft AppFabric 1.1 for Windows Server (KB 3092423)
- Visual C++ Redistributable Package for Visual Studio 2012
- Visual C++ Redistributable Package for Visual Studio 2017
- That did'nt work, Issue type User not in directory - SharePoint external access error
- How to get SharePoint Online user details from person or group column using REST API
- Create SharePoint Site Collection with new Content database in existing web application
- Fix Power BI 404 not found error when connecting SharePoint Online List as Data Source
- How to get the SharePoint Tenant Login URL
- How to wrap column text in SharePoint Online Modern List Grid View using JSON formatting
- SharePoint Server 2016 installation System Hardware requirements
- Cannot load PowerApps form in SharePoint Online due to repeated authentication
- Change SharePoint search results FullTextSqlQuery RowLimit 10000
- How to create SharePoint Document Library
- How to exclude results from SharePoint Search
- SharePoint 2010 DataForm Unable to display this Web Part System.StackOverflowException
- Fix Error 2711 SQL RBS client - The installer has encountered an unexpected error. The specified Feature name ('Docs') not found in Feature table
- How to upload file programmatically to SharePoint Document Library using Server Object Model C# .Net
- SharePoint error cannot connect to the configuration database
- Drag drop files here option missing for SharePoint document library
- How to activate and create SharePoint Spaces feature for mixed reality experience - 2D/3D images and web parts
- [Fix] Office 365 Sharepoint One Drive Error: Something went wrong. This is a temporary issue
- SharePoint 2016 error - Could not find file ManageUserProfileServiceApplicationTenantSimplified.xml
- SharePoint List excel import - This table exceeds the maximum number of supported rows
- How to customize SharePoint Modern list form using JSON formatting
- New-SPLogFile PowerShell - create new SharePoint log file
- SharePoint Online REST API not returning all list items and limit to only 100 rows
- How to Get or Set SharePoint Document ID _dlc_DocId using PowerShell
- Get-ADUser PowerShell - Get AD user details using email address
- Error: Safari quit unexpectedly. Problem Report for Safari - MacOS
- Run IntelliJ Java main method without Gradle build - Gradle
- Android Constant and Resource Type Mismatches Lint - Android
- java.lang.ClassNotFoundException android.support.v7.widget.Toolbar [Fix] - Android
- Convert Collection List to Set using Java 8 Stream API - Java
- How to turn off Dark theme in Excel for Mac - Microsoft
- sudo is not recognized as an internal or external command - Windows
- Calculate Area of Parallelogram - C-Program