当尝试向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服务器上安装ASAppServiceEndpoint 1.1时,我没有设置AppFabric -ASAppServiceEndpoint,也找不到它的位置。
发布于 2013-12-29 07:29:26
错误不在AppFabric中。服务需要更大大小才能将消息传输到其他端点。请记住,此配置在两个端点上必须相同。
https://stackoverflow.com/questions/19111624
复制相似问题