The tool was unable to install Application Server Role, Web Server (IIS) Role


Hi Friends,

As you know that SharePoint 2016 beta 2 has been released. I decided to make my hands dirty on this buggy version. My setup was as follow.


  • SharePoint Box-  16 GB RAM - 120 GB HDD- Windows Server 2012 R2
  • SQL 2012 --- 8 GB RAM - 120 GB HDD -- Windows Server 2012 R2
I started installation with Prerequisite installer. You do not believe it gave error from first basic step.

The tool was unable to install Application Server Role, Web Server (IIS) Role

The issue was setup was not able to install .NET framework 3.5. Server manager also unable to install it. I ran the following command and issue was just ran away.

Dism /online /enable-feature /featurename:NetFx3 /All /Source:D:\sources\sxs /LimitAccess

Somehow tool was able to install IIS and its components. Later it gave error on following components 
  • vc_redist.x64 for 2015
  • vc_redist.x64 for 2012
I manually downloaded it form Microsoft website and finally all prerequisites installed. 


But still I was struggling with another error.


This error occurs because "Visual C++ Redistributable for Visual Studio 2015 failed to install".

Issue was update Windows8.1-KB2999226-x64 which get failed while installing VC Component.

Solution: 
  1. Go to C:\ProgramData\PackageCache\469A82B09E217DDCF849181A586DF1C97C0C5C85\ packages\Patch\amd64\Windows8.1-KB2999226-x64.msu
  2. copy this file to a folder 
  3.  Open CMD and type  wusa.exe Windows8.1-KB2999226-x64.msu /extract:XXXX
  4. Then tupe  DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows8.1-KB2999226-x64.cab
  5. Goto vc setup and repair it
  6.  vc_redist.x64.exe /repair
Finally it went smoothly and i was able to install SharePoint 2016. I recommend that you should update your windows server first before running SharePoint setup.

I did my best to cover every base for this issue. If anyone finds a location I may have missed that would contribute towards this problem please post! Did this help? Let me know!








Comments

Popular posts from this blog

Messages stuck in drafts: Exchange 2013 issue

Top 7 Technical Support Best practices to ensure the positive customer experience

Application compatibility update for Windows 7- KB2791765