Home > AppFabric, ASP.NET > Installing AppFabric on Windows Server 2012

Installing AppFabric on Windows Server 2012

Here is the step by step guide to installing AppFabric on Windows Server 2012. If you were to install the executable straightaway, it will fail as there are some dependencies

 

This is what you will see when you simply install AppFabric on a clean install of Windows Server

image

image

 

To properly setup AppFabric, you need to install the pre-requisites (IIS and ASP.NET 3.5) as well as enable automatic windows update.

IF you want high availability, you will need to install on Enterprise and above versions of windows server

  1. Start up Server Manager and click Add roles and features
    image
  2. Install Web Server (IIS)
    image
    image
  3. Install ASP.NET 3.5. You will need the windows server DVD mounted in the dvd drive or else use the alternative path and point to the sources\sxs folder of the windows server dvd
    image
  4. Enable Windows Update
    image
  5. Download Windows Server AppFabric here
  6. Double click the downloaded executable and click next to everything, you might want to install the whole suite just to play safe
    image
  7. Installation should be successful and you will be greeted with the following screen
    image
  8. If you see the exclamation mark (as shown in the image), goto windows update and do a windows update
  9. Ensure Remote Registry is enabled
    image

 

Set Remote Registry to Automatic

 

Search for Caching Administrator, Right click and run as administrator

 

image

 

Get-CacheStatistics [cachename]

Size              : 470016
ItemCount         : 1
RegionCount       : 1
RequestCount      : 37
ReadRequestCount  : 7
WriteRequestCount : 7
MissCount         : 1
IncomingBandwidth : 1671031
OutgoingBandwidth : 1202058

AppFabric

Advertisements
Categories: AppFabric, ASP.NET
  1. March 26, 2014 at 10:17 pm

    I have problems with installing this on Windows Server 2012 R2. Happens exactly what you showed. Even after installing IIS and .NET 3.5 i still get same failure.

    2014-03-26 15:05:50, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603
    2014-03-26 15:05:50, Error Setup
    2014-03-26 15:05:50, Information Setup Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1603
    2014-03-26 15:05:50, Information Setup at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.GenerateAndThrowSetupException(Int32 exitCode, LogEventSource logEventSource)
    2014-03-26 15:05:50, Information Setup at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.Invoke(LogEventSource logEventSource, InstallMode installMode, String packageIdentity, List`1 updateList, List`1 customArguments)
    2014-03-26 15:05:50, Information Setup at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.InstallSelectedFeatures()
    2014-03-26 15:05:50, Information Setup at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.Install()
    2014-03-26 15:05:50, Information Setup at Microsoft.ApplicationServer.Setup.Client.ProgressPage.StartAction()
    2014-03-26 15:05:50, Information Setup
    2014-03-26 15:05:50, Information Setup === Summary of Actions ===
    2014-03-26 15:05:50, Information Setup Required Windows components : Completed Successfully
    2014-03-26 15:05:50, Information Setup IIS Management Console : Completed Successfully
    2014-03-26 15:05:50, Information Setup Microsoft CCR and DSS Runtime 2008 R3 : Completed Successfully
    2014-03-26 15:05:50, Information Setup AppFabric 1.1 for Windows Server : Failed
    2014-03-26 15:05:50, Information Setup Hosting Services : Failed
    2014-03-26 15:05:50, Information Setup Caching Services : Failed
    2014-03-26 15:05:50, Information Setup Cache Client : Failed
    2014-03-26 15:05:50, Information Setup Hosting Administration : Failed
    2014-03-26 15:05:50, Information Setup Cache Administration : Failed
    2014-03-26 15:05:50, Information Setup Microsoft Update : Skipped
    2014-03-26 15:05:50, Information Setup Microsoft Update : Skipped
    2014-03-26 15:05:50, Information Setup
    2014-03-26 15:05:50, Information Setup ===== Logging stopped: 2014-03-26 15:05:50+01:00 =====

  2. April 16, 2014 at 9:13 pm

    Hi, are you sure u have installed 3.5? Win2012r2 needs you to put in the DVD before that works..

  3. April 23, 2014 at 11:18 pm

    I’ve the same issue. But, I’m working in Server 2012 R2 Datacenter. I did all the steps until #6. But the window ends with errors.
    – NET 3.5 installed from DVD
    – Windows Update and Remote Registry enabled
    -Server restarted
    -Again the ERRORS…

    Help.

  4. April 24, 2014 at 6:54 am

    hmm let me see if i can do a screencast for this, appfabric is a rather tricky beast to install, the best bet is actually to start afresh.

    fraballi, if you are using datacentre, you will also need to install CU4 after a successful installation

  5. fraballi
    April 24, 2014 at 8:36 pm

    What is CU4 : cumulative update 4? where could be downloaded?

  6. April 25, 2014 at 5:27 am

    Hi fraballi, yes i’m referring to cumulative update 4. You can find it at http://support.microsoft.com/kb/2800726

    • Gil
      May 15, 2014 at 3:10 am

      This update is for AFTER installing Appfabric.
      It doesnt seem to work with 2012R2 at all.

  7. June 17, 2014 at 11:21 pm

    Hi, i need to understand something, how AppFabric relates to Azure Pack, should i install both, wich releases ? i mean AppFabric for Azure or for Windows Server?
    Thanks

    • June 19, 2014 at 12:07 am

      Hi

      AppFabric is used to cache objects (e.g application cache or session state), whereas azure pack is used to manage your servers like how windows azure is doing it

      Both are quite different in what they do or provide…

  8. September 3, 2014 at 9:47 am
    • September 4, 2014 at 6:43 am

      Ah yes you will need to do this if you have a prior failed installation of AppFabric because the installation will create these groups

  9. Ram
    November 22, 2014 at 6:01 am

    Hi,

    Thanks to you, I am able to install appfabric successfuly. Also, I am trying to automate the configuration of appfabric using XML as caching service configuration provider, Is there a way I could automate this? Could you please let me know If its possible to automate it?

    Thanks,

    • December 29, 2014 at 8:05 am

      Hmm if you are referring to file share, then just a common shared path would do fine

  10. March 5, 2015 at 3:44 am

    Yea this doesn’t work. Fresh install of 2012 R2, no dice.

  11. March 5, 2015 at 3:48 am

    It appears that if you have tried, and failed, to install AppFab then you must remove the AS_Administrators and AS_Observers group first, using the Local Users and Groups MMC. Don’t worry, the AppFab install will recreate them.

  12. Sankar
    April 13, 2015 at 1:22 pm

    Delete the AS_Observers group in local user accounts

  13. December 5, 2015 at 10:15 pm

    I hope you all made to get Appfabric installed. I am still facing issues. I have followed so many instructions tot get it fixed but nothing worked for me so far. Now I am running out ofoptions to fix it. Can anyone guide me?

  14. December 7, 2015 at 12:52 am

    Hallo kwanann, thanks for your quick reply. I really appreciate that. I have looked into the Local Users and Groups but dit not find the AS_… groups.At tjis moment I am building a complete new Windows 2012R2 environment with SP2013 Enterprise. Sofar things seems to go well. If I am facing issues with this I hope you do not mind to come back to you. Anyhow I let you know my progress.Thanks for letting me know that AppFabric is not supported in the near future. Kind regards, Jos.

    • December 9, 2015 at 6:50 am

      Do be aware that appfabric for SP works differently from “normal” appfabric. it would be wise to refer to sharepoint guides in your case

      • December 10, 2015 at 3:10 am

        Hallo kwanann, thanks for your advice. I will have a look at the SP guides.
        Kind regards, Jos,.

  15. January 3, 2016 at 9:42 pm

    I’m stuck at install Appfabric,
    Powershell with :
    PS E:\> .\prerequisiteinstaller.exe “C:\Users\LongNX\Downloads\WindowsServerAppFabricSetup_x64.exe”

    end up with:
    2016-01-03 20:38:11 – Processor architecture is (9)
    2016-01-03 20:38:11 – Reading the following string value/name…
    2016-01-03 20:38:11 – Common Startup
    2016-01-03 20:38:11 – from the following registry location…
    2016-01-03 20:38:11 – SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    2016-01-03 20:38:11 – The value is…
    2016-01-03 20:38:11 – C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
    2016-01-03 20:38:11 – Trying to remove the startup task if there is any.
    2016-01-03 20:38:11 – C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
    2016-01-03 20:38:11 – Error: Startup task doesn’t exist. This is not a continuation after a restart.
    2016-01-03 20:38:11 – Analyzing the following command line argument:
    2016-01-03 20:38:11 – C:\Users\LongNX\Downloads\WindowsServerAppFabricSetup_x64.exe
    2016-01-03 20:38:11 – Error: Unrecognized command line option
    2016-01-03 20:38:11 – Details of the current operating system:
    2016-01-03 20:38:11 – Major version number of the operating system: (6)
    2016-01-03 20:38:11 – Minor version number of the operating system: (2)
    2016-01-03 20:38:11 – Build number of the operating system: (0X23F0=9200)
    2016-01-03 20:38:11 – Major version number of the latest Service Pack: (0)
    2016-01-03 20:38:11 – Minor version number of the latest Service Pack: (0)
    2016-01-03 20:38:11 – Platform ID of the operating system: (2)
    2016-01-03 20:38:11 – Product suites available on the operating system: (0X190=400)
    2016-01-03 20:38:11 – Product type of the operating system: VER_NT_SERVER
    2016-01-03 20:38:11 – Product type: (8)
    2016-01-03 20:38:11 – OS type: (0)
    2016-01-03 20:38:11 – Configuring the application’s property sheet…
    2016-01-03 20:38:11 – Cannot retry
    2016-01-03 20:38:14 – Launching Help Content Url
    2016-01-03 20:38:14 – Opened action for user
    2016-01-03 20:38:14 – http://go.microsoft.com/fwlink/?LinkID=230806
    2016-01-03 20:40:12 – Launching Help Content Url
    2016-01-03 20:40:12 – Opened action for user
    2016-01-03 20:40:12 – http://go.microsoft.com/fwlink/?LinkID=230806
    2016-01-03 20:40:15 – Opening log file
    2016-01-03 20:40:15 – Opened action for user
    2016-01-03 20:40:15 – C:\Users\LongNX\AppData\Local\Temp\prerequisiteinstaller.2016.01.03-20.38.11.log

    —–
    tried with ms links, no help at all,
    If you have some spare time, can you give me some advices?

  16. January 3, 2016 at 10:00 pm

    Did try to install manually, failed also 😦

  17. January 3, 2016 at 10:04 pm

    this is log:
    2016-01-03 21:00:46, Information Setup ===== Logging started: 2016-01-03 21:00:46+07:00 =====
    2016-01-03 21:00:46, Information Setup File: c:\15d380dbcdedbc0800b8798bb0ff\setup.exe
    2016-01-03 21:00:46, Information Setup InternalName: Setup.exe
    2016-01-03 21:00:46, Information Setup OriginalFilename: Setup.exe
    2016-01-03 21:00:46, Information Setup FileVersion: 1.1.2106.32
    2016-01-03 21:00:46, Information Setup FileDescription: Setup.exe
    2016-01-03 21:00:46, Information Setup Product: Microsoft(R) Windows(R) Server AppFabric
    2016-01-03 21:00:46, Information Setup ProductVersion: 1.1.2106.32
    2016-01-03 21:00:46, Information Setup Debug: False
    2016-01-03 21:00:46, Information Setup Patched: False
    2016-01-03 21:00:46, Information Setup PreRelease: False
    2016-01-03 21:00:46, Information Setup PrivateBuild: False
    2016-01-03 21:00:46, Information Setup SpecialBuild: False
    2016-01-03 21:00:46, Information Setup Language: Language Neutral
    2016-01-03 21:00:46, Information Setup
    2016-01-03 21:00:46, Information Setup OS Name: Windows Server 2012 R2 Datacenter
    2016-01-03 21:00:46, Information Setup OS Edition: ServerDatacenter
    2016-01-03 21:00:46, Information Setup OSVersion: Microsoft Windows NT 6.2.9200.0
    2016-01-03 21:00:46, Information Setup CurrentCulture: en-US
    2016-01-03 21:00:46, Information Setup Processor Architecture: AMD64
    2016-01-03 21:00:46, Information Setup Event Registration Source : AppFabric_Setup
    2016-01-03 21:00:46, Information Setup
    2016-01-03 21:00:46, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1.0 Upgrade module.
    2016-01-03 21:00:46, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed.
    2016-01-03 21:01:00, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1 Upgrade pre-install.
    2016-01-03 21:01:00, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed, not taking backup.
    2016-01-03 21:01:00, Information Setup Executing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe with commandline -iru.
    2016-01-03 21:01:01, Information Setup Return code from aspnet_regiis.exe is 0
    2016-01-03 21:01:01, Information Setup Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i “c:\15d380dbcdedbc0800b8798bb0ff\Microsoft CCR and DSS Runtime 2008 R3.msi” /l*vx “C:\Users\LongNX\AppData\Local\Temp\AppServerSetup1_1(2016-01-03 21-01-01).log”
    2016-01-03 21:01:01, Information Setup Process.ExitCode: 0x00000000
    2016-01-03 21:01:01, Information Setup Windows features successfully enabled.
    2016-01-03 21:01:01, Information Setup Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i “c:\15d380dbcdedbc0800b8798bb0ff\Packages\AppFabric-1.1-for-Windows-Server-64.msi” ADDDEFAULT=Worker,WorkerAdmin,CacheService,CacheClient,CacheAdmin,Setup /l*vx “C:\Users\LongNX\AppData\Local\Temp\AppServerSetup1_1(2016-01-03 21-01-01).log” LOGFILE=”C:\Users\LongNX\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2016-01-03 21-01-01).log” INSTALLDIR=”C:\Program Files\AppFabric 1.1 for Windows Server” LANGID=en-US
    2016-01-03 21:02:19, Information Setup Process.ExitCode: 0x00000643
    2016-01-03 21:02:19, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603
    2016-01-03 21:02:19, Error Setup
    2016-01-03 21:02:19, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603
    2016-01-03 21:02:19, Error Setup
    2016-01-03 21:02:19, Information Setup Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1603
    2016-01-03 21:02:19, Information Setup at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.GenerateAndThrowSetupException(Int32 exitCode, LogEventSource logEventSource)
    2016-01-03 21:02:19, Information Setup at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.Invoke(LogEventSource logEventSource, InstallMode installMode, String packageIdentity, List`1 updateList, List`1 customArguments)
    2016-01-03 21:02:19, Information Setup at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.InstallSelectedFeatures()
    2016-01-03 21:02:19, Information Setup at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.Install()
    2016-01-03 21:02:19, Information Setup at Microsoft.ApplicationServer.Setup.Client.ProgressPage.StartAction()
    2016-01-03 21:02:19, Information Setup
    2016-01-03 21:02:19, Information Setup === Summary of Actions ===
    2016-01-03 21:02:19, Information Setup Required Windows components : Completed Successfully
    2016-01-03 21:02:19, Information Setup IIS Management Console : Completed Successfully
    2016-01-03 21:02:19, Information Setup Microsoft CCR and DSS Runtime 2008 R3 : Completed Successfully
    2016-01-03 21:02:19, Information Setup AppFabric 1.1 for Windows Server : Failed
    2016-01-03 21:02:19, Information Setup Hosting Services : Failed
    2016-01-03 21:02:19, Information Setup Caching Services : Failed
    2016-01-03 21:02:19, Information Setup Cache Client : Failed
    2016-01-03 21:02:19, Information Setup Hosting Administration : Failed
    2016-01-03 21:02:19, Information Setup Cache Administration : Failed
    2016-01-03 21:02:19, Information Setup Microsoft Update : Skipped
    2016-01-03 21:02:19, Information Setup Microsoft Update : Skipped
    2016-01-03 21:02:19, Information Setup
    2016-01-03 21:02:19, Information Setup ===== Logging stopped: 2016-01-03 21:02:19+07:00 =====

    • Chris Sasarman
      October 18, 2016 at 7:50 am

      Perfect, thank you!

  18. M Bilal
  1. July 20, 2014 at 7:50 pm
  2. September 3, 2014 at 9:44 am
  3. December 26, 2014 at 6:22 pm

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: