Sharepoint - Error: The tool was unable to install Application Server Role, Web Server (IIS) Role
Are you trying to install on Windows Server 2016? This is not supported officialy, but easily possible:
*Preprare Windows and SQL Server, Setup AD DS
*As already stated, install .NET 3.5 with server manager
*add Features manually using Powershell:
Add-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-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Xps-Viewer -verbose
*Run prereq installer
*Reboot
*Install Sharepoint
Fun!
Cheers!
My problem was solved by installing of .Net 3.5 feature
in my server
by going to server manager add/remove features
than I re run the prerequisite installer again and it worked
hope this will help other peoples facing same issue
Follow this Post. It works fine by renaming the ServerManager.exe to ServerManagerCMD.exe
http://www.someshinyobject.com/posts/server-2012-r2-and-sharepoint-2013-the-tool-was-unable-to-install-application-server-role-web