Cache do AppFabric - Uma conexão existente foi fechada à força pelo host remoto
Estou tentando colocar o cache do AppFabric em funcionamento no meu ambiente de desenvolvimento local. eu tenhoAtualização do Windows Server AppFabric Beta 2 instalado e o cluster e host de cache configurados e começaram a executar no Windows 7 de 64 bits. Estou executando meu site MVC2 em um site local do IIS em um pool de aplicativos v4.0 no modo integrado.
HostName : CachePort Service Name Service Status Version Info
-------------------- ------------ -------------- ------------
SN-3TQHQL1:22233 AppFabricCachingService UP 1 [1,1][1,1]
Eu tenho meu web.config configurado com o seguinte:
<configSections>
<section name="dataCacheClient" type="Microsoft.ApplicationServer.Caching.DataCacheClientSection, Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" allowLocation="true" allowDefinition="Everywhere"/>
</configSections>
<dataCacheClient>
<hosts>
<host name="SN-3TQHQL1" cachePort="22233" />
</hosts>
</dataCacheClient>
Estou recebendo um erro ao tentar inicializar o DataCacheFactory:
protected CacheService()
{
_cacheFactory = new DataCacheFactory(); <-- Error here
_defaultCache = _cacheFactory.GetDefaultCache();
}
Estou recebendo a tela de erro amarelo do ASP.NET com o seguinte:
Uma conexão existente foi forçada a fechar pelo host remoto
Descrição: ocorreu uma exceção não tratada durante a execução da solicitação da web atual. Revise o rastreamento de pilha para obter mais informações sobre o erro e onde ele se originou no código.
Detalhes da exceção: System.Net.Sockets.SocketException: Uma conexão existente foi fechada à força pelo host remoto
Erro de origem:
Line 21: protected CacheService()
Line 22: {
Line 23: _cacheFactory = new DataCacheFactory();
Line 24: _defaultCache = _cacheFactory.GetDefaultCache();
Line 25: }