Windows Server AppFabric is not correctly configured in SharePoint 2016

Windows Server AppFabric is not correctly configured

In this post, we’ll fix “Windows Server AppFabric is not correctly configured” for SharePoint 2016 and SharePoint 2013.

Windows Server AppFabric is not correctly configured.

To solve”Windows Server AppFabric is not correctly configured” issue, we’ll go through the following:

You might also like to read SharePoint 2016: Failed to create the configuration database.


Windows Server AppFabric is not correctly configured

If you don’t have an internet connection, and you need to install SharePoint Server 2019 / 2016 /2013. In this case, 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:

Actually, the process of installing SharePoint Server prerequisites offline is not straight forward, you may encounter some issues that you must solve before starting the SharePoint installation.

One of theses issue that you may face after installing all the SharePoint prerequisites, and when you run the SharePoint setup file is

Windows Server AppFabric is not correctly configured.You Should uninstall Windows Server Appfabric and reinstall it using The SharePoint Products Preparation Tool.

Windows Server AppFabric is not correctly configured.

AppFabric is not correctly configured

The Windows Server AppFabric is not correctly configured because of one of the following causes:

  1. 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!
  2. You have an internet connection but you have tried to install the SharePoint Server 2013 RTM on Windows Server 2012 R2.
  3. If your server is configured as a Workgroup, you will not be able to install AppFabric for Windows Server.

How to configure Windows Server AppFabric correctly during installing SharePoint

Before we getting started, you should first aware of

  • If you have already installed Windows Server AppFabric for SharePoint 2016 by clicking on the setup file ‘Windows Server AppFabric Setup_x64.exe‘! so you will first need to uninstall it through the control panel, then reboot the server!
  • 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 properly on Windows Server 2012 R2.
    • Install SharePoint Server 2013 RTM on Windows Server 2012 NOT Windows Server 2012 R2.

Configure Windows Server AppFabric for SharePoint 2016

Steps

To install and configure Windows Server AppFabric for SharePoint 2016, you should do the following:

  • Copy the Windows Server AppFabric setup file “WindowsServerAppFabricSetup_x64.exeto drive C:/ (or any location as you prefer)
  • Open Command Prompt or Windows PowerShell as Administrator.
Run Command Prompt As Administrator
  • Navigate to the folder path that you have placed the Windows Server AppFabric setup file “WindowsServerAppFabricSetup_x64.exe“.
  • Run the “WindowsServerAppFabricSetup_x64.exe” with theses parameters “/i CacheClient,CachingService,CacheAdmin /gac“.
.\WindowsServerAppFabricSetup_x64.exe /i CacheClient,CachingService,CacheAdmin /gac
  • You may get the below errors when you Windows Server AppFabric for SharePoint 2016 as shown below:

Command Line syntax error.  Duplicate command line argument.  Parameter name: Install

Command Line syntax error - Duplicate command line argument Parameter name Install
  • In this case, you should run the “WindowsServerAppFabricSetup_x64.exe” with theses parameters “/i CacheClient”,”CachingService”,”CacheAdmin /gac“.
.\WindowsServerAppFabricSetup_x64.exe/i CacheClient","CachingService","CacheAdmin /gac

In SharePoint 2013, the same command should work properly,

  • Wait a moment until the Windows Server AppFabric is configured correctly.
  • In case, you are installing SharePoint 2013, so you should install Cumulative Update Package 1 for Microsoft AppFabric 1.1.
  • In case, you are installing SharePoint 2016, so you should install Cumulative Update 7 (3092423) for Microsoft AppFabric 1.1
  • After the Windows AppFabric  Cumulative Updated is installed, you must reboot the server.
  • After server restart, try now to run SharePoint Installation again where the “Windows Server AppFabric is not correctly configured.” error should not be listed, you can start your SharePoint installation now.

Conclusion

In occlusion, we ave learned how to install and configure Windows Server AppFabric for SharePoint 2016 as well as SharePoint 2013.

Applies To
  • SharePoint 2016.
  • SharePoint 2013.
You might also like to read
Have a Question?

If you have any related questions, please don’t hesitate to ask it at deBUG.to Community.

43 thoughts on “Windows Server AppFabric is not correctly configured in SharePoint 2016”

  1. Well looks like this trailing “: did not get fixed in Windows Server 2016 either. Come on Microsoft-talk about quality control…

  2. 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

  3. I tired Installing AppFabric1.1 using powershell but this is the error am getting,
    can anyone help meon this.

    PS D:> WindowsServerAppFabricSetup_x64.exe /i CacheClient”,”CachingService”,”CacheAdmin /gac
    WindowsServerAppFabricSetup_x64.exe : The term ‘WindowsServerAppFabricSetup_x64.exe’ is not recognized as the name of
    a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
    verify that the path is correct and try again.
    At line:1 char:1
    + WindowsServerAppFabricSetup_x64.exe /i CacheClient”,”CachingService”,”CacheAdmi …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (WindowsServerAppFabricSetup_x64.exe:String) [], CommandNotFoundExceptio
    n
    + FullyQualifiedErrorId : CommandNotFoundException

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top