Forum Discussion

J B's avatar
J B
Copper Contributor
Jan 07, 2018
Solved

Cannot get AppFabric installed on Windows Server 2016

I'm installing SharePoint 2016 on Server 2016, using the shared roles option.  Everything installs ok except for AppFabric, I can't get Distributed Cache to start.

 

The error in central admin is:

A failure occurred in SPDistributedCacheServiceInstance::Provision. cacheHostInfo is null for host

I've tried every fix I can find but nothing seems to work.

 

Is AppFabric supported on Windows Server 2016?  I noticed that there are no registry key entries for AppFabric, the values are all blank.  In my SP 2013 enviornment, the registry keys all have values.

 

I was able to install SP 2016 on dev server as standalone in Windows Server 2012 without a problem.

  • If you're not familiar with it, you didn't use it :) Usually what you'd do is set all your DistCache parameters (service account, memory usage) prior to introducing a 2nd DC host, but if you need to deploy a DC+FE host, you can use that parameter to prevent DC from provisioning.

    If DC is truly not working, you need a new farm. Certain things are only provisioned when the first DC host is introduced to the farm.
  • Did you let the pre-req installer deploy AppFab, or did you attempt to manually install it? If you manually installed it, uninstall it and let the pre-req take care of it (though I've always gotten MSI 1603s when redeploying and just rebuilt the VM instead).
    • J B's avatar
      J B
      Copper Contributor

      Hi Trevor,

      I got it to deploy using the pre-reqs installer but I can't get it to work.  I did manually deploy the AppFabric Update after I finally got AppFabric to install.

       

      The AppFabric config wizard (see attached) doesn't look right to me...shouldn't it be a member of a cluster if i have it installed on 2 WFE's?

       

       

       

       

      • There is nothing you need to change in the AppFab config wizard. AppFab clustering is not used with SharePoint.

        What have you tried, so we don't go down the same steps? Are you able to run Use-CacheCluster on a host you've attempted to start AppFab?

Resources