NHibernate の 2 次キャッシュとして Azure AppFabric キャッシュ サービスを使用するための NHibernate.Caches.Appfabric nuget パッケージは、Azure SDK の V 1.8 で正常に動作していました。
ただし、VS 2012 および Azure SDK のバージョン 2.0 にアップグレードした後、nuget パッケージは動作を停止し、AppFabric DLL は Azure AppFabric キャッシュ サービスとの接続を確立できません。Azure AppFabric キャッシュ サービスに接続すると、次のエラーが発生します。
Exception type: DataCacheException
Exception message: ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.). Additional Information : The client was trying to communicate with the server: net.tcp://192.168.171.9:20005.
Microsoft.ApplicationServer.Caching.DataCache.ThrowException (ErrStatus errStatus、Guid trackingId、例外 responseException、Byte[][] ペイロード、EndpointID 宛先) で Microsoft.ApplicationServer.Caching.DataCacheFactory.EstablishConnection (IEnumerable 1 servers, RequestBody request, Func
3 sendMessageDelegate、DataCacheReadyRetryPolicy retryPolicy) で Microsoft .ApplicationServer.Caching.SocketClientProtocol.Initialize(IEnumerable 1 servers)
at Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCache(String cacheName, CreateNewCacheDelegate cacheCreationDelegate, DataCacheInitializationViaCopyDelegate initializeDelegate)
at NHibernate.Caches.AppFabric.AppFabricCacheFactory.GetCache(String cacheName, Boolean useDefault)
at NHibernate.Caches.AppFabric.Adapters.AppFabricCacheNamedAdapter.GetCache(IAppFabricCacheFactory cacheFactory)
at NHibernate.Caches.AppFabric.AppFabricCacheAdapter..ctor(String regionName)
at NHibernate.Caches.AppFabric.Adapters.AppFabricCacheNamedAdapter..ctor(String regionName)
at NHibernate.Caches.AppFabric.AppFabricCacheAdapterFactory.Create(String regionName)
at NHibernate.Caches.AppFabric.AppFabricProvider.BuildCache(String regionName, IDictionary
2 プロパティ) at NHibernate.Cache.CacheFactory.CreateCache(String usage, String name, Boolean mutable, Settings settings, IDictionary`2 properties) at NHibernate.Impl.SessionFactoryImpl..ctor(Configuration) cfg、IMapping マッピング、設定設定、EventListeners リスナー)
================================================== ===
この問題を解決する方法を提案できますか??
ありがとう