Link to home
Start Free TrialLog in
Avatar of Software Squirrel
Software SquirrelFlag for United States of America

asked on

SharePoint 2013 Pre-requisites - Error during installation

I have tried to install this as a standalone as well as a farm. I have also tried to use the ARM templates with Azure. I keep having the same issue.  I have searched the web can not find the correct solution.  Has anyone had luck making it all the way through the pre-requisites without seeing this issue? Maybe there was an issue with the configuration of the App Fabric?
User generated image
Avatar of Philip Elder
Philip Elder
Flag of Canada image

What is the host OS this is being installed on?
Is that SharePoint Foundation?
To overcome that, from an elevated command prompt window, run this:
Add-WindowsFeature Application-Server,Web-Server,Windows-Identity-Foundation,NET-Framework-45-ASPNET,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,Web-Lgcy-Mgmt-Console,Web-Lgcy-Scripting,Web-Mgmt-Tools,Web-WMI,AS-Web-Support,Web-Common-HTTP,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-HTTP-Activation45 -Source 'D:\sources\sxs'

Open in new window

Modify the source parameter at the end to point to your source files.

Once you have done that, start the install process again and you should be okay.

Have a good one... 
Avatar of Software Squirrel

ASKER

Do you mean to run this before I run the prereqs?  Also, I have heard there are issues if I run SP2013 with a domain controller on the same machine?  Is that true? I know it's not best practices, but I am only building it for dev purposes.

If it's Dev then stand up another virtual machine to run SharePoint in. Even better, stand up yet another to run SQL in.

From there, make sure the appropriate accounts are set up in AD for the required SP services that need user mode access.
Yes, run that script before the prereqs.

You should not have SharePoint on a domain controller. In a production environment avoid that at all costs, in a Dev environment, its not the end of the world to have it all on one machine. 
Walter Curtis  actually after running the script, everything in the PowerShell script ran fine, but when I try to run the SP setup, it says I am missing a lot of things. If I try to rerun the pre-requisites after running the PowerShell script, I get the same error.  Any thought?
Make sure you run the installer as admin, elevated privileges. Also, the account running the installer needs to be a local administrator on the machine you are running the installer on.
If that makes no difference, check exactly which step errors out. If the error is on the App Fabric or the WCF Data Services step, you may have to install those prereq's separately, and then run the prereq installer again.
Also, don't think you are doing anything wrong yourself. The SP 2013 install process is very buggy.
Hope that helps...

It is the App Fabric. I tried a full manual process and got stuck at App fabric. Did use Admin correctly. I will try manual pre-req again. I also have been restarting after each step and checking for updates before the next step.
(All of this is for SharePoint 2016, but should apply to 2013)

Here is the source I used, available from Windows Downloads
WindowsServerAppFabricSetup_x64.exe
33 mb in size

Used this command line for the install (nothing special)
D:\prerequisiteinstaller.exe /AppFabric:C:\Inst\WindowsServerAppFabricSetup_x64.exe

Then installed this update:
AppFabric-KB3092423-x64-ENU.exe
1.7 mb
I tried to run manually with all prereqs. I referenced these sites.
https://www.spjeff.com/2012/07/19/fixed-sharepoint-2013-setup-error-appfabric-is-not-correctly-configured/ 
http://jpwaldin.com/blog/?p=236 

I am still getting an error but now it has a web server configuration error.
User generated image
You can run this again. If the role or feature is installed it will indicate that and will keep going. The installation of App fabric may have changed things.

Add-WindowsFeature Application-Server,Web-Server,Windows-Identity-Foundation,NET-Framework-45-ASPNET,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,Web-Lgcy-Mgmt-Console,Web-Lgcy-Scripting,Web-Mgmt-Tools,Web-WMI,AS-Web-Support,Web-Common-HTTP,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-HTTP-Activation45 -Source 'D:\sources\sxs'

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Software Squirrel
Software Squirrel
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Fantastic - the install process is even more broken than before! Glad you got it working. Good job!
Thanks for the help Walter. Your script pointed me in the right direction.
Moving to the install, keep in mind what Phillip mentioned above about accounts. Here is some good information on that topic.

https://docs.microsoft.com/en-us/sharepoint/security-for-sharepoint-server/plan-for-administrative-and-service-accounts 

https://vladtalkstech.com/2017/03/sharepoint-2016-service-accounts-recommendations.html 

Have a good one and be safe...

I ran into another issue when installing a new standalone environment on Hyper-V. I initially set up a VHD with only one processor.  When doing that, I get the following error when running the SharePoint setup after Prereqs.
Error: Failed to install product:  E:\global\oserver.MSI ErrorCode: 1603(0x643). 
All you have to do is increase the number of virtual processors to at least two and re-run the setup.