The pre-requisites installation in one of my recent SharePoint 2013 farm installations was failing at the step where it configures the Application Server and Web Server role for the Server:
Further, the error logs had the following entry:
——————————————————————————————————-
– Request for install time of Application Server Role, Web Server (IIS) Role
– Install process returned (0)
– [In HRESULT format] (0)
– “C:\Windows\system32\cscript.exe” “C:\Windows\system32\iisext.vbs” /enext “ASP.NET v4.0.30319”
– Request for install time of Application Server Role, Web Server (IIS) Role – Install process returned (1)
– [In HRESULT format] (-2147024895)
– Error when enabling ASP.NET v4.0.30319 – Last return code (1)
——————————————————————————————————
Since I did not find much community guidance around this, I thought I’ll do some research myself and post the solution for other’s benefit as well.
A little bit of digging around revealed that the IISExt.vbs script file was indeed missing from the C:\Windows\System32 folder. Further research revealed that the script is part of the IIS 6.0 scripting tools. The solution therefore is as simple as enabling the IIS 6.0 Scripting Tools through the Server Roles and Features Wizard. The path to the IIS 6.0 Scripting Tools is shown in the following screen capture:
That’s it. Your pre-requisites installation should proceed as intended after you install these tools… Good Luck with your install!
Thanks for sharing. Have you done Ph.D in SharePoint?
Hey thanks for your encouraging feedback Naini!
Is this an isolated case or is it a norm to enable scripting tool every time to proceed with the installation?
You will need to enable the scripting tools when installing SharePoint. However, the scripting tools will not be needed after the installation and if needed, you can uninstall them by going to the “Server Manager –> Manage –> Remove Roles and Features” and deselecting the “IIS 6 Scripting Tools” from the path shown in the screen capture in the blog post.
Thanks!
Thanks Gaurav for the info.
Sure, anytime bud!
Thanks, that is exactly what I needed 🙂
Great! Glad to know it helped! 🙂
You sir are my hero for the upcoming half hour 😀 I have been stuck on this point for weeks!
Glad to know Cedric! Thanks for your encouraging comments!
Nice post .. saved my day !
Thanks Michael!
Hi Gaurav,
I am newbie to SharePoint 2013. I am struggling to install SharePoint 2013 in Windows 2008 R2 version. I have installed the SharePoint 2013 in Windows 2008 R2 but failed to configure the app. Can you please guide me how to create a domain and lookup zone to host SharePoint 2013 app.
I will appreciate any help on this.
Thanks in advance,
Avinash
Hello Avinash,
Thanks for stopping by. I have blogged about it here: https://gauravmahajan.net/2013/01/30/configuring-apps-for-sharepoint/
Hope that helps.
Thanks!
It helps but not enough…when the IIS config runs (now that the vbs is there), it generates a fatal error that “Extension does not exist in the restriction list”….
Hello David,
Sorry you are facing the issue. Each environment is different and while the steps above help overcome this particular issue, you may end up encountering a totally different one. You may want to check the installation logs for the exact error you are facing. Please do let me know if I can be of any help
Thanks!
Hi David and Gaurav
I was having the same problem. After I Installed the component got the same error.
I open the log file got the command and tried to execute on a command line and got this error saying that the “Extension does not exist ..”
To resolve the problem: Open IIS, Select your server. On the right screen look for ISAPI and CGI Restrictions and double click it.
I found that the real name was “ASP.NET v4.0.30319 (32-bit)″. I renamed it to “ASP.NET v4.0.30319″ and it worked.
After that I found this link that used the same solution: http://www.dotnetscraps.com/dotnetscraps/post/SharePoint-2013-Offline-installation-Appfabric-issue.aspx
Hope that helps,
Cheers.
Claudio
Thank You for your inputs Claudio!
Pingback: SharePoint Server 2013 Installation & Planning Guide | CEIAmerica
Gaurav, thank you for sharing this page. Three years later it is still valid.
Thanks Giuseppe! Glad to know it was helpful for you! 🙂
I installed SP2013 VM successfully. But when i run the SQL server , It was not start, When i try to start the SQL server services , its showing the Error , in Event viewer , The SQL version is expire.
Raman,
Can you please confirm you downloaded this VM from this URL: https://gauravmahajan.net/2014/08/17/sharepoint-server-2013-sp1-virtual-machine-download/
ALso, when did you download it? The licenses on the latest one should be valid at least until Feb 24th 2017
Thanks!
saved my time
Thanks!