In this article, I will fix the below SharePoint 2016 / 2013 issue:
Windows Server AppFabric is not correctly configured.You Should uninstall Windows Server Appfabric and reinstall it using The SharePoint Products Preparation Tool.
Scenario
If you don’t have an internet connection, and you need to install SharePoint Server 2013, so you will need to install SharePoint Server prerequisites offline without using Preparation Tool.
Therefore, you should install the following roles & features manually.
- Roles:
- Application Server.
- Web Server (IIS).
- EDIT: IIS 6 Management Console (h/t Darma).
- Features:
- ASP.NET 4.5.
- Windows Identity Foundation 3.5.
Then download the below files:
- SQL Server 2008 R2 SP1 Native Client
- Microsoft WCF Data Services 5.0
- Microsoft Information Protection and Control Client (MSIPC)
- Microsoft Sync Framework Runtime v1.0 SP1 (x64)
- Windows Identity Extensions
- Windows Identity Foundation (KB974405) (you can Install it as a feature)
- Windows Server AppFabric
- Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB 2671763).
After all the prerequisites have been installed, I tried to run SharePoint setup file. but I got the below error:
Windows Server AppFabric is not correctly configured.You Should uninstall Windows Server Appfabric and reinstall it using The SharePoint Products Preparation Tool.
Cause
The Windows Server AppFabric is not correctly configured because of one of the following causes:
- You don’t have an internet connection and you have tried to install the Windows Server AppFabric manually by double-clicking on its Setup file!
- You have an internet connection but you have tried to install the SharePoint Server 2013 RTM on Windows Server 2012 R2.
- If your server is configured as a Workgroup, you will not be able to install AppFabric for Windows Server.
Solution
Offline install Windows Server AppFabric for SharePoint 2016 / 2013
To install ‘Windows Server AppFabric Setup_x64.exe‘ file, follow the below steps:
Note: In case you have already installed the Windows Server AppFabric by double-clicking on its Setup file! so you should uninstall it first from the control panel, then reboot the server!
- Move WindowsServerAppFabricSetup_x64.exe to drive C:/
- Type the below command line in PowerShell
.\WindowsServerAppFabricSetup_x64.exe /i CacheClient,CachingService,CacheAdmin /gac
- If you got any error like
Command Line syntax error. Duplicate command line argument. Parameter name: Install
- Try to use the below cmdlet
.\WindowsServerAppFabricSetup_x64.exe/i CacheClient","CachingService","Cache Admin /gac
In SharePoint 2016, the same command should work properly,
- Wait a moment until AppFabric installation finish.
- Try now to install Cumulative Update Package 1 for Microsoft AppFabric 1.1. that should be now installed successfully.
Note: In SharePoint 2016, you will need to install the Cumulative Update 7 (3092423) for Microsoft AppFabric 1.1
- Reboot the server > Run SharePoint Installation again where the message error should not be listed again.
Note: SharePoint Server 2013 RTM is not supported on Windows Server 2012 R2, to be able to install SharePoint 2013 , you have the below options:
- Install SharePoint Server 2013 with SP1 will be working propely on Windows Server 2012 R2.
- Install SharePoint Server 2013 RTM on Windows Server 2012 NOT Windows Server 2012 R2.
Applies To
- SharePoint 2016.
- SharePoint 2013.
Conclusion
In this article, I have explained, How to offline install Windows Server AppFabric as a prerequisite for SharePoint 2016 / 2013?
Thank you so much, this worked perfectly!
LikeLike
You are welcome:) glad to hear it helped you!
LikeLike
Super !!! Very Good HELP !!
LikeLike
Glad to hear it helped you!
LikeLike
Hi i have the same error. try the same way but nothing happend
LikeLike
Please tell me what you have tried to can help you, the above steps are valid for SharePoint 2013 / SharePoint 2016
LikeLiked by 1 person
Yes, this helped me.. Thanks
LikeLike
You are welcome:)
LikeLike
Hi Bro,
I am also facing same issue more than 10days , format the laptop again install feel like fed up install all those software.I tried all possible ways to resolve this issue but there is no work out please help me,
LikeLike
If you have windows server 2012 R2 so you should install SharePoint Server 2013 with SP1 it will install all prerequisite SharePoint in online manner
LikeLike
THANK YOU!!!!!!!
LikeLike
Welcome 🙂
LikeLike
when i was install windows server app-fabric i faced this error “App-fabric installation failed because installer MSI return with error: 1603”.I tried all possible ways to resolve this issue but there is no work out please help me,
LikeLike
Well done buddy,it’s working like a charm.
LikeLike
In order to manually install Windows Server App Fabric for SharePoint 2013, first download the install file:
http://www.microsoft.com/en-us/download/details.aspx?id=27115
assuming you store the file at c:
run the following commands from an elevated PowerShell command line:
$file = “c:\WindowsServerAppFabricSetup_x64.exe”
& $file /i CacheClient”,”CachingService”,”CacheAdmin /gac
Note the double quotations around the commas.
LikeLike
thanks you very much bro i worked !!
LikeLike
Most Welcome, Glad to hear it helped you!
LikeLike
Thank you so much.
LikeLike
You are welcome:)
LikeLike
Muito Obrigado me ajudou mto!!!
LikeLike
You are Welcome 🙂
LikeLike
I have installed Active directory too in same machine. Now I am not able to install App fabric. No other tricks are working for me.
Please assist.
Regards,
Yogesh Sharma
LikeLike
Well looks like this trailing “: did not get fixed in Windows Server 2016 either. Come on Microsoft-talk about quality control…
LikeLike
What’s your SharePoint version? Is it 2013 or 2016? Note: Windows Server 2016 RTM is not supported for SharePoint 2013.
LikeLike
perfect solution thanks
LikeLike
you are welcome 🙂
LikeLike
work for me…..THX
LikeLike
you are welcome 🙂
LikeLike
works for me thanx..
LikeLike
You are welcome 🙂
LikeLike
The same cmdlet is also working properly for SharePoint 2016
LikeLike
Thanks for your help here, but in my case it doesn´t work.
In the logfile I found these entries:
2018-04-06 10:58:35, Information Setup Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i “C:\0df47f1f8ff5e082d5bda6b0854e – Copy\Packages\AppFabric-1.1-for-Windows-Server-64.msi” ADDDEFAULT=Worker,WorkerAdmin,CacheService,CacheClient,CacheAdmin,Setup /l*vx “C:\Users\admin\AppData\Local\Temp\AppServerSetup1_1(2018-04-06 10-58-35).log” LOGFILE=”C:\Users\admin\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2018-04-06 10-58-35).log” INSTALLDIR=”C:\Program Files\AppFabric 1.1 for Windows Server” LANGID=en-US
2018-04-06 10:59:26, Information Setup Process.ExitCode: 0x00000643
2018-04-06 10:59:26, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603
2018-04-06 10:59:26, Error Setup
2018-04-06 10:59:26, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603
2018-04-06 10:59:26, Error Setup
2018-04-06 10:59:26, Information Setup Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1603
Any ideas on this???
Regards
Mathis
LikeLike
What’s your current environment? I can check it remotely if you need via Team Viewer!
LikeLike
Mohamed,
I found out myself what to do:
1. Execute c:\Windows\system32\net.exe localgroup AS_Observers /delete
2. Install activation service feature for .NET 3.5 (both HTTP and non-HTTP) and enable HTTP activation for .NET 4.5
Even though I don´t understand, but it works 🙂
LikeLike
solved my issue in SharePoint 2016
LikeLike
Glad to hear it helped you
LikeLike
Thank you! Solved for issue “The Windows Server AppFabric is not correctly configured”
LikeLike
Glad to hear it helped you!
LikeLike