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
- error CAML Query containing special characters
- [Solved] SharePoint Illegal operation attempted on a registry key that has been marked for deletion
- Trigger Flow on selected Listitem from SharePoint view - create button with JSON column formatting
- SharePoint Excel error - The workbook cannot be opened because it contains the following features that are not supported by Excel in the browser
- Send Email with attachment using SharePoint PowerShell, SMTP server
- How to show or hide columns in SharePoint Online List Library from
- SharePoint excel error - A problem occurred while connecting to the server. If the problem continues, contact your administrator.
- How to get SharePoint Online user details from person or group column using REST API
- How to get SharePoint List Item URL using PowerShell
- How to get the SharePoint Tenant Login URL
- Special character & not working with SharePoint REST API
- How to disable SharePoint subsite creation option for owners
- Managed Metadata error - The data returned from the tagging UI was not formatted correctly
- Deploy SharePoint wsp solution package using PowerShell
- How to create classic site in SharePoint Online
- See actual SharePoint error exception modify web.config
- 'Edit Document' Requires a Windows Sharepoint Services-compatible application and Microsoft Internet Explorer 6.0 or higher
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- SharePoint installation error - Setup is unable to proceed due to the following error This product requires Microsoft .Net Framework 4.5
- How to add animated Gif to SharePoint Online Page
- [Solved] SharePoint Search Internal server error exception
- How to create SharePoint Document Library
- SharePoint - Use Today's Date Time in list view filter and calculated column
- How to redirect SharePoint Site Collection to different URL
- SharePoint error cannot connect to the configuration database
- How to Clear Cache for a website (URL) in Safari for Mac - MacOS
- How to remove old 404 pages ulrs from Google crawler - Html
- 5 Programming Languages to Learn in the Year 2021 - News
- Python: Pandas Rename Specific Column names in DataFrame Example - Python
- How to know the version of Ubuntu - Ubuntu
- Strikethrough Text in Excel for Mac - MacOS
- Fix: chroot: failed to run command /bin/bash: No such file or directory - Bash
- [docker] Error response from daemon: No such container - Docker