Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provando ad installare un laboratorio di SharePoint Server 2013 su un nuovo ambiente Windows Server 2012 e SQL Server 2012, mi sono scontrato con questo simpatico errore:
“The tool was unable to install Application Server Role, Web Server (IIS) Role” and ” Application Server Role, Web Server (IIS) Role: Configuration Error”.
Facendo delle piccole ricerche ho trovato la KB 2765260 che indirizza solo alla risoluzione del problema (utilizzando il Metodo 2 proposto in quanto il Metodo 1 non funziona...).
Approfondendo la questione, si scopre che in questa KB manca un pezzettino fondamentale in fondo allo script PowerShell che potrebbe farvi risparmiare un po' di tempo e imprecazioni....
Il codice corretto è il seguente:
Import-Module ServerManager
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 D:sourcessxs
dove -Source D:sourcessxs è il drive del disco di Windows Server 2012 che DEVE essere inserito.
Potete trovare ulteriori informazioni su questo problema anche qui
https://blogs.msdn.com/b/chadray/archive/2012/11/01/installing-sharepoint-2013-on-windows-server-2012-fails-during-prerequisite-install-phase.aspx
https://blog.sharepointsydney.com.au/post/2013/04/17/Prerequisites-fail-on-install-of-SharePoint-2013-Server-2012.aspx