Trying to install SharePoint 2013 on server 2012 Unable to install the application to web server IIS role


 

 

We were trying to install SharePoint 2013 (Foundation) on server 2012 and getting error during prerequisite installation.

 

We collection data from temp directory. In logs we can clearly see that it throws error while enabling ASP.NET v4.0.30319

 

2013-02-19 13:16:28 – "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe" -i

2013-02-19 13:16:28 – Install process returned (0)

2013-02-19 13:16:28 – [In HRESULT format] (0)

2013-02-19 13:16:28 – "C:\Windows\system32\cscript.exe" "C:\Windows\system32\iisext.vbs" /enext "ASP.NET v4.0.30319"

2013-02-19 13:16:28 – Install process returned (1)

2013-02-19 13:16:28 – [In HRESULT format] (-2147024895)

2013-02-19 13:16:28 – Error when enabling ASP.NET v4.0.30319

2013-02-19 13:16:28 – Last return code (1)

2013-02-19 13:16:28 – Reading the following DWORD value/name…

2013-02-19 13:16:28 – Flags

2013-02-19 13:16:28 – from the following registry location…

2013-02-19 13:16:28 – SOFTWARE\Microsoft\Updates\UpdateExeVolatile

2013-02-19 13:16:28 – Reading the following string value/name…

2013-02-19 13:16:28 – PendingFileRenameOperations

2013-02-19 13:16:28 – from the following registry location…

2013-02-19 13:16:28 – SYSTEM\CurrentControlSet\Control\Session Manager

2013-02-19 13:16:28 – Reading the following registry location…

2013-02-19 13:16:28 – SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired

2013-02-19 13:16:28 – Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.

2013-02-19 13:16:28 – Last return code (1)

 

 

We manually added support for ASP.NET 4.5 on IIS 8 for that we followed following article.

 

http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45


Comments (6)

  1. Anonymous says:

    Thanks man…. I got the same issue & thanks for the solution

  2. hhh says:

    https://www.facebook.com/pages/%D8%A7%D9%81%D8%B6%D9%84-%D8%B4%D8%B1%D9%83%D8%A9-%D9%86%D9%82%D9%84-%D8%A7%D8%AB%D8%A7%D8%AB-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0566406517-%D8%A7%D9%84%D8%A7%D8%A8%D8%AF%D8%A7%D8%B9/562811960455073

    https://www.facebook.com/pages/%D8%A7%D9%81%D8%B6%D9%84-%D8%B4%D8%B1%D9%83%D8%A9-%D8%B9%D8%B2%D9%84-%D8%A7%D9%84%D8%A7%D8%B3%D8%B7%D8%AD-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0504445382-%D8%B9%D8%A8%D8%A7%D8%AF-%D8%A7%D9%84%D8%B1%D8%AD%D9%85%D9%86/213274338851814
    https://www.facebook.com/pages/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%B4%D9%82%D9%82-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0504445382-%D8%B9%D8%A8%D8%A7%D8%AF-%D8%A7%D9%84%D8%B1%D8%AD%D9%85%D9%86/1439640672923694
    https://www.facebook.com/pages/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%85%D9%88%D9%83%D9%8A%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0504445382-%D8%B9%D8%A8%D8%A7%D8%AF-%D8%A7%D9%84%D8%B1%D8%AD%D9%85%D9%86/171735293035208
    https://www.facebook.com/pages/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%85%D8%AC%D8%A7%D9%84%D8%B3-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0504445382-%D8%B9%D8%A8%D8%A7%D8%AF-%D8%A7%D9%84%D8%B1%D8%AD%D9%85%D9%86/1374494406131668

    https://www.facebook.com/pages/%D8%A7%D9%81%D8%B6%D9%84-%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/244947262325198
    http://aladelgroup.wordpress.com/%D9%85%D9%83%D8%A7%D9%81%D8%AD%D8%A9-%D8%AD%D8%B4%D8%B1%D8%A7%D8%AA-0566724802/
    https://www.facebook.com/pages/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%A8%D9%8A%D8%A7%D8%B1%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0504445382-%D8%B4%D8%B1%D9%83%D8%A9-%D8%B9%D8%A8%D8%A7%D8%AF-%D8%A7%D9%84%D8%B1%D8%AD%D9%85%D9%86/734883343203332
    https://www.facebook.com/pages/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%AE%D8%B2%D8%A7%D9%86%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0507257910/233977260092263

    http://elenjaz.com/?page_id=12
    https://www.facebook.com/pages/%D8%A7%D9%81%D8%B6%D9%84-%D8%B4%D8%B1%D9%83%D8%A9-%D8%B9%D8%B2%D9%84-%D8%AE%D8%B2%D8%A7%D9%86%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/222292944605866
    https://www.facebook.com/pages/%D8%A7%D9%81%D8%B6%D9%84-%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%A8%D9%8A%D9%88%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/613286082046084
    https://vimeo.com/85865316
    https://twitter.com/lara_19800
    http://remas2010.ucoz.net/index/0566398004/0-7
    http://remas2010.ucoz.net/index/0566398004/0-6
    http://remas2010.ucoz.net/forum/2-1-1#6

  3. Srinivas Vuradi says:

    I had the same Issue and solve it following this article: sharelockpoint.wordpress.com/…/sharepoint-2013-pre-requisites-install-fail-error-the-tool-was-unable-to-install-application-server-role-web-server-iis-role

Skip to main content