Windows Server AppFabric is not correctly configured In SharePoint 2016 / 2013

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:

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.

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

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,

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?

Advertisements

34 thoughts on “Windows Server AppFabric is not correctly configured In SharePoint 2016 / 2013

  1. 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,

    Like

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

    Like

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

    Like

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

    Like

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

    Like

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

    Like

      1. 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 🙂

        Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s