In this article, I will fix the below boring 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 2013 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 following 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 2013 Installation. but unfortunately I got the following 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
To install ‘WindowsServerAppFabricSetup_x64.exe‘, 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 following command line in PowerShell
.\WindowsServerAppFabricSetup_x64.exe /i CacheClient,CachingService,CacheAdmin /gac
- If you got any error during running the previous command try to run it again without using its Parameters.
.\WindowsServerAppFabricSetup_x64.exe /i /gac
- Wait until AppFabric installation finish.
- Click on ‘AppFabric1.1-RTM-KB2671763-x64-ENU.exe’ to install the AppFabric patch.
- 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.
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
Yes, this helped me.. Thanks
LikeLike
You are welcome:)
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
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
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