0

尝试将大型项目插入 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)

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

例如 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,也找不到找到它的位置。

4

1 回答 1

0

错误不在 AppFabric 中。该服务需要更大的大小才能将消息传输到其他端点。您记得此配置在两个端点上必须相同。

于 2013-12-28T23:29:25.577 回答