kwizcom banner advertisement

"There was an error during Installation, The tool was unable to install Application Server Role, Web Server (IIS) Role." In SharePoint 2013 Products Preparation Tool

Problem: SharePoint 2013 Products Preparation Tool  failed with an error "There was an error during Installation - The tool was unable to install Application Server Role, Web Server (IIS) Role." during prerequisites installation in Windows Server 2012 R2.
There was an error during Installation, The tool was unable to install Application Server Role, Web Server (IIS) Role.

Solution: Mount the Windows 2012 R2 ISO into the drive and Install the roles offline from Windows Server Installation disk.

PowerShell script to Add necessary Roles & features for SharePoint 2013 (Prerequisites)
Import-Module ServerManager

Add-WindowsFeature NET-WCF-HTTP-Activation45,NET-WCF-TCP-Activation45,NET-WCF-Pipe-Activation45 -Source E:\Sources\sxs

Add-WindowsFeature Net-Framework-Features,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-Net-Ext,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,Application-Server,AS-Web-Support,AS-TCP-Port-Sharing,AS-WAS-Support, AS-HTTP-Activation,AS-TCP-Activation,AS-Named-Pipes,AS-Net-Framework,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer -Source E:\Sources\sxs

Where E:\ is your DVD drive.

Other Solutions:
  • Copy "C:\Windows\System32\ServerManager.exe" and rename as "C:\Windows\System32\ServerManagerCMD.exe"
  • Try adding IIS Role from Server Manager
  • Try registering .Net framework using: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regii -enable -i
"There was an error during Installation, The tool was unable to install Application Server Role, Web Server (IIS) Role." In SharePoint 2013 Products Preparation Tool "There was an error during Installation, The tool was unable to install Application Server Role, Web Server (IIS) Role." In SharePoint 2013 Products Preparation Tool Reviewed by Salaudeen Rajack on 11:33 AM Rating: 5

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.