首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Azure nuget包无法与NHibernate.Caches.AppFabric AppFabric缓存SErvice建立连接

Azure nuget包无法与NHibernate.Caches.AppFabric AppFabric缓存SErvice建立连接
EN

Stack Overflow用户
提问于 2013-08-02 15:58:51
回答 1查看 167关注 0票数 0

使用Azure AppFabric缓存服务作为NHibernate的二级缓存的Azure nuget包在Azure SDK的V1.8中工作得很好。

然而,在升级到Azure SDK的VS2012和2.0版本后,AppFabric包已停止工作,并且nuget DLL无法与Azure AppFabric缓存服务建立连接。我们在连接到Azure AppFabric缓存服务时遇到以下错误:

代码语言:javascript
复制
  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属性)在Microsoft.ApplicationServer.Caching.DataCacheFactory.EstablishConnection(IEnumerable1 servers, RequestBody request, Func3 sendMessageDelegate )在Microsoft.ApplicationServer.Caching.SocketClientProtocol.Initialize(IEnumerable1 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, IDictionary2属性)在NHibernate.Cache.CacheFactory.CreateCache(String使用,字符串名称,布尔可变,设置设置,标识`2属性)在NHibernate.Impl.SessionFactoryImpl..ctor(Configuration配置,IMapping映射,设置设置,EventListeners侦听器)

=====================================================

你能建议一下如何解决这个问题吗?

谢谢

EN

回答 1

Stack Overflow用户

发布于 2013-10-08 14:01:02

根据演练,提到的异常主要是由于以下两种原因中的任何一种而引发的

在服务器和客户端configurations.的安全凭据中访问AppFabric.

  • Mismatch的
  1. 帐户

话虽如此,我提到的这项研究并不是为了azure,但我仍然希望它是不受帮助的。请参阅以下链接:http://blogs.msdn.com/b/mspfe/archive/2013/03/22/the-case-of-the-broken-appfabric.aspx

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18011702

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档