FIXED – SharePoint 2013 Setup Error – Appfabric is not correctly configured
When trying to install SharePoint Server 2013, I saw the below error. This was caused by manually double clicking the file “WindowsServerAppFabricSetup_x64.exe” instead of allowing the SharePoint Prerequisite Installer to run this.
The resolution was to run “prerequisiteinstaller.exe” with command line parameters to directly specify the filename for each prerequisite. Just like with SharePoint 2010, when installing offline we must tell the installer where to locate each file. Running the various components manually doesn’t work well. Apparently there is an install sequence or extra parameters which “prerequisiteinstaller.exe” must perform for the prerequisites to install correctly.
Below is the correct command line to use offline. I saved this as “prereq.cmd” on my install folder. Hope that helps! ![]()
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

thx !! solved my installation issue !!
Awesome Geert! I’m glad somebody found it helpful. The break/fix blog post others write help me out a lot so I try to post any that I find also.
It looks like the SP2013 preview build didn’t run the AppFabric install with the correct parameters. Documented in http://technet.microsoft.com/en-us/library/cc262485(v=office.15).aspx you need to run WindowsServerAppFabricSetup_x64.exe with the parameters /i CacheClient,CachingService,CacheAdmin /gac.It looks like SP2013 RTM has resolve this as it included the parameters when running the install.
Also, run the the WCFDataService argument with the quiet switch
/WCFDataService:prerequisiteinstallerfilesWcfDataServices.exe /quiet
thanks Hossein. I updated the post
Cool, thanks Octavio. I have downloaded the SP2013 RTM binaries and need to take time to setup a new virtual machine. The preview software is usually buggy so it’s great to see RTM has shipped.
SharePoint is a powerful application development platform useful to develop websites, social networks, business intelligence, intranet portals and lots of more.
Thanks buddy!
If the AppFabricSetup_x64.exe fails with error code 1603 it might be that the PSModulePath environment variable is incorrect. Mine had a ” character in the and. After i removed it it installed fine.
That saved my evening , thanks
I have already spent a good half day but this worked and I can move on with the installation.
FIXED 100% works.
Go to Internet Explorer setiings> internet option> Advance TAB > “Unchecked”=warn if changing between secure and nonsecure mode.
Now run prerequisiteinstaller application..
FIXED 100% works.
Go to Internet Explorer setiings> internet option> Advance TAB > “Unchecked”=warn if changing between secure and nonsecure mode.
Now run prerequisiteinstaller application.
SharePoint is a highly effective database integration foundation useful to create websites, social networking sites, business intellect, intranet sites and lots of more.
Thank you! Its worked for me!
you can now use types verification instead of AD with SharePoint which allows you to verify against an LDAP company of your option or data source.
Thanks for posting this fix.
can help me?
prerequisiteinstaller.exe was crached when use your solution with this message:
Microsoft SharePoint Products and Technologies 2010 Preparation tool has stopped Working
in windows server 2012
thanks
This helped us. really Thanks.
Suggest way to install all pre Requisite through command prompt.
I think the above command line is incorrect. The “/AppFabric” should be “/KB2671763” instead.
thanx it is use full
in command “/SQLNCLi:prerequisiteinstallerfilessqlncli.msi” should be “/SQLNCLi:prerequisiteinstallerfilessqlncli.msi”
and so on etc.
Thanks! The formatting was lost when I converted to Crayon Syntax Highlighter. I’ve updated now.
Thank you. Was very helpful 🙂
Thank you for your help
In sharePoint 2013 prerequisiteinstaller not installing in windows server 2012 R2 with my Hyper V manager.Any body help
bharath, use Windows Server 2012. Server 2012 R2 is not supported.
Hi Denis,
I am using OS windows Server 2012 R2 and SP SP1 binaries.
i am facing same issue,Kindly let me know if you have any solution.
Thanks for this fix
Hi,Same issue i have,i fallow the same process,but still getting same error.Please let me now how to resolve and I did not find any installation of AppFabric in Control panel-Program installation,Please elaborate.
I am using OS windows Server 2012 R2 and SP SP1 binaries.
Please confirm, Windows Server 2012. Server 2012 R2 is not supported with Sharepoint 2013 Sp1.
Hello, It is usually possible to install Sharepoint 2013 on Windows Server 2012 R2 that does not support the prerequisites of tool by performing the following steps:
1.Download de prerequisite files:
“http://download.microsoft.com/download/E/0/0/E0060D8F-2354-4871-9596-DC78538799CC/Synchronization.msi”, # Microsoft Sync Framework Runtime v1.0 SP1 (x64)
“http://download.microsoft.com/download/A/6/7/A678AB47-496B-4907-B3D4-0A2D280A13C0/WindowsServerAppFabricSetup_x64.exe”, # Windows Server App Fabric
“http://download.microsoft.com/download/7/B/5/7B51D8D1-20FD-4BF0-87C7-4714F5A1C313/AppFabric1.1-RTM-KB2671763-x64-ENU.exe”, # Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
“http://download.microsoft.com/download/0/1/D/01D06854-CA0C-46F1-ADBA-EBF86010DCC6/rtm/MicrosoftIdentityExtensions-64.msi”, # Microsoft Identity Extensions
“http://download.microsoft.com/download/9/1/D/91DA8796-BE1D-46AF-8489-663AB7811517/setup_msipc_x64.msi”, # Microsoft Information Protection and Control Client
“http://download.microsoft.com/download/8/F/9/8F93DBBD-896B-4760-AC81-646F61363A6D/WcfDataServices.exe” # Microsoft WCF Data Services 5.0
2. Installing “microsoftidentityextensions-64”
3. Installing “synchronization”
4. Installing “setup_msipc_x64”
5. Installing “WcfDataServices”
6. Install powershell via the “WindowsServerAppFabricSetup_x64.exe” command with the path where the executable:
. WindowsServerAppFabricSetup_x64 / i CacheClient, CachingService, CacheAdmin / gac
7. Installing “AppFabric1.1-RTM-KB2671763-x64-ENU”
8. Reboot the Server
Excellent detail, thanks Rafael!
This ^^^amazing! thanks!
tanx dude , it was very helpfull and saved a lot of time 4me , very very tanx to you , one of the best articles i’ve ever read
Not work for me plz help !! error msh “There was an error during installation”
plz help as i cant find known reason why this is happening sp 13 on windows server 2008 R2
run the command with full path: “C:Sourceprerequisiteinstaller.exe /AppFabric:C:SourceprerequisiteinstallerfilesAppFabric1.1-RTM-KB2671763-x64-ENU.exe”.
hii
What I learned from a previous post is that it is better to install the prerequisite files before installing SQL Server. It appends a path string to the end of the PSModulePath environment variable in
Control Panel->System and Security->System->Advanced system settings->Environment Variables… System Variables that ends with PowerShellModules. This causes a conflict. I temorarity removed the path for SQL Server and installed the prerequisites. Then I put the path string back in. There is also an extra ” (qoutation mark) which I removed.
to Install WindowsServerAppFabricSetup_x64.exe, I just ran it by itself.
C:>WindowsServerAppFabricSetup_x64.exe and it worked which was not working otherwise.
I tried everything and did not succeed. I finally ran the .exe file by itself:
C:>AppFabric1.1-RTM-KB2671763-x64-ENU.exe
It worked. In fact most of the Prerequisite files that did not run using SharePoint 2013 prerequisiteinstaller.exe were installed by individually running. As you know, the .msi files can be installed by the following command:
C:WindowsSystem32msiexec.exe -i filenname.msi
This example assumes that Windows is installed on Drive “C” by the name “Windows”. filename.msi is the .msi file to be installed.
I hope this helps you. It took a lot my time to install SharePoint 2013.
You’re referring to a single box install of SharePoint, no?
I faced 2 issues when I your command: “prerequisiteinstaller.exe
/AppFabric:prerequisiteinstallerfilesAppFabric1.1-RTM-KB2671763-x64-ENU.exe”
Issue 1. AppFabric.1.-RTM-x64 not found on this package.
solution:
run
the command with full path: “C:Sourceprerequisiteinstaller.exe
/AppFabric:C:SourceprerequisiteinstallerfilesWindowsServerAppFabricSetup_x64.exe”
Issue 2. After restart error log “Error: Custom file location is not accessible”
run
the command with full path: “C:Sourceprerequisiteinstaller.exe
/AppFabric:C:SourceprerequisiteinstallerfilesAppFabric1.1-RTM-KB2671763-x64-ENU.exe”
Thanks
Thanks..This resolved my issue
Go to Windows Environment Variables, PSModulePath environment variable is corrupted. There is a quotation mark at the end.
the solution is to delete delete the ending quotation mark, Log off from windows and re logon, and re-run the setup
Very much helpful. Thanks dude.
Argh, Microsoft – Why don’t you just die?
I think if you install SharePoint on a server with WSUS on it, that’s a BIG no-no from the turds at Microsoft. You get config errors on configuring IIS (because god forbid you should already have some IIS website set up (that’s a highly unlikely scenario, right?)!
I wish I worked for MS testing so I could just tell them that “No! Bad Microsoft! That’s a bad software developer! NO!”.