title: AppFabric 1.1 and Windows 8 Consumer Preview
body: <p>I got a new laptop for my job and was thinking about installing Win8 CP as my main operating system, I love it, so I tried to do some tests in a VM to see if AppFabric cache can work in Win8 CP. The official response from MS is "AppFabric is not supported in Win8 and we would tell you how to run it when Win8 is released" and of course that is not a nice answer for me, so I tried... and failed...</p>
  
  <p>After installing .Net 3.5SP1 and latest updates AppFabric cache was installed and configured without any problem in my Win8 machine using my local user and a XML provider in a shared folder, I gave permissions and everything to that folder...</p>
  
  <p>The first problem is that the Cache Administrator Console answer back with this message every time I open it:</p>
  
  <pre><code>Use-CacheCluster : ErrorCode&lt;ERRCAdmin040&gt;:SubStatus&lt;ES0001&gt;:Failed to connect
  to hosts in the cluster At line:1 char:46
     + Import-Module DistributedCacheAdministration;Use-CacheCluster
     +                                              ~~~~~~~~~~~~~~~~
     + CategoryInfo          : NotSpecified: (:) [Use-CacheCluster], DataCacheException
     + FullyQualifiedErrorId : Microsoft.ApplicationServer.Caching.DataCacheException,Microsoft.ApplicationServer.Caching.Commands.UseCacheClusterCommand
  
  PS C:\Windows\system32&gt;
  </code></pre>
  
  <p>Well, looks like something is not right... let's try to start the cache cluster</p>
  
  <pre><code>PS C:\Windows\system32&gt; start-cachecluster
  
  HostName : CachePort Service Name            Service Status Version Info
  -------------------- ------------            -------------- ------------
  win8:22233           AppFabricCachingService UP             0 [0,0][0,0]
  
  
  PS C:\Windows\system32&gt;
  </code></pre>
  
  <p>The version info answer is not right at all, so problably create a new cache would fail</p>
  
  <pre><code>PS C:\Windows\system32&gt; new-cache IPE
  New-Cache : Object reference not set to an instance of an object.
  At line:1 char:1
  + new-cache IPE
  + ~~~~~~~~~~~~~
      + CategoryInfo          : NotSpecified: (:) [New-Cache], NullReferenceExce
     ption
      + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Applicat
     ionServer.Caching.Commands.NewCacheCommand
  
  PS C:\Windows\system32&gt;
  </code></pre>
  
  <p>And pretty much that's all...</p>
  
  <p>I tried everything I could find in the internet: </p>
  
  <ul>
  <li>Starting the Remote</li>
  <li>Registry Service Modifying the host file in windows/system32/drivers/etc/host to place an explicit entry to localhost and my machine name </li>
  <li>Checking permissions</li>
  <li>Installing updates</li>
  <li>Opening firewall rules</li>
  </ul>
  
  <p>(For the firewall rules I tried something like this)</p>
  
  <pre><code>netsh advfirewall firewall set rule group="Windows Server AppFabric: AppFabric Caching Service" new enable=Yes
  netsh advfirewall firewall set rule name="Remote Service Management (RPC)" profile=domain new enable=Yes
  netsh advfirewall firewall set rule name="Remote Service Management (RPC-EPMAP)" profile=domain new enable=Yes
  netsh advfirewall firewall set rule name="Remote Service Management (NP-In)" profile=domain new enable=Yes
  </code></pre>
  
  <p>And still getting the same problem... I have no idea where to start or continue to fix the problem... I would really appreciate any help, and yes, would be really really hard for me to wait until Win8 official release.</p>