SharePoint 2013 Setup Error – The tool was unable to install Application Server Role, Web Server (IIS) Role OR Appfabric is not correctly configured

While installing SharePoint 2013 on a Windows Server 2012 I’ve encountered 2 problems reported by the prerequisite installer:

– The tool was unable to install Application Server Role, Web Server (IIS) Role
– Appfabric is not correctly configured

The solution to this problem can be found on http://social.technet.microsoft.com/wiki/contents/articles/14582.sharepoint-2013-install-prerequisites-offline-or-manually-on-windows-server-2012-a-comprehensive-guide.aspx but with out a facile explatiations.

  1. Prerequisites that should be installed by default:
    1. Microsoft .NET Framework 4.5
    2. Windows Management Framework 3.0
  2. Roles/Features that are required for the “Application Server Role, Web Server (IIS Role)”.
    1. Online

      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
    2. Offline from Windows Server dvd

      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:\sources\sxs
  3. Installation and configuration of Windows Server AppFabric
    WindowsServerAppFabricSetup_x64.exe /i CacheClient,CachingService,CacheAdmin /gac
  4. Prerequisites that must be downloaded and installed
    1. Microsoft SQL Server 2008 R2 SP1 Native Client
    2. Microsoft Sync Framework Runtime v1.0 SP1 (x64)
    3. Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
    4. Windows Identity Foundation (KB974405)
    5. Microsoft Identity Extensions
    6. Microsoft Information Protection and Control Client
    7. Microsoft WCF Data Services 5.0

    prerequisiteinstaller.exe /SQLNCLi:prerequisiteinstallerfiles\sqlncli.msi /PowerShell:prerequisiteinstallerfiles\Windows6.1-KB2506143-x64.msu /NETFX:prerequisiteinstallerfiles\dotNetFx45_Full_x86_x64.exe /IDFX:prerequisiteinstallerfiles\Windows6.1-KB974405-x64.msu /Sync:prerequisiteinstallerfiles\Synchronization.msi /AppFabric:prerequisiteinstallerfiles\WindowsServerAppFabricSetup_x64.exe /IDFX11:prerequisiteinstallerfiles\MicrosoftIdentityExtensions-64.msi /MSIPCClient:prerequisiteinstallerfiles\setup_msipc_x64.msi /WCFDataServices:prerequisiteinstallerfiles\WcfDataServices.exe /quiet /KB2671763:prerequisiteinstallerfiles\AppFabric1.1-RTM-KB2671763-x64-ENU.exe

manuel11g

Leave a Reply