AppFabric QuotaExceededException

时间:2013-10-01 08:40:50

标签: windows caching appfabric

尝试将大项插入AppFabric缓存时出现错误

 Microsoft.ApplicationServer.Caching.DataCacheException:ErrorCode<ERRCA0016>:SubStatus<ES0001>:The connection was terminated, possibly due to server or network problems or serialized Object size is greater than MaxBufferSize on server. Result of the request is unknown. ---> System.ServiceModel.CommunicationException: The maximum message size quota for incoming messages (183886080) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. ---> System.ServiceModel.QuotaExceededException: The maximum message size quota for incoming messages (183886080) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
 --- End of inner exception stack trace ---
 at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
 at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndReceive(IAsyncResult  result)
 at Microsoft.ApplicationServer.Caching.WcfClientChannel.CompleteProcessing(IAsyncResult result)

问题是我在这个问题上找不到很少的文档。 我可以看到各种链接讨论所有指向不再存在的网站的问题。

e.g。 http://www.biztalkgurus.com/appfabric/b/appfabric-syn/archive/2011/04/19/understanding-the-windows-azure-appfabric-service-bus-quotaexceededexception.aspx

我还发现了以下讨论设置MaxReceivedMessageSize属性的内容。 http://msdn.microsoft.com/en-us/library/ee677250(v=azure.10).aspx

然而,在我在Windows服务器上安装AppFabric 1.1时,我没有cmdlet Set-ASAppServiceEndpoint,也无法找到它的位置。

1 个答案:

答案 0 :(得分:0)

AppFabric中没有错误。该服务需要更大的大小来将消息传输到其他端点。您记得两个端点的配置必须相同。