尝试将大型项目插入 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)
问题是我在这个问题上找不到很少的文档。我可以看到各种讨论该问题的链接都指向不再存在的站点。
我还发现了以下讨论设置 MaxReceivedMessageSize 属性的内容。 http://msdn.microsoft.com/en-us/library/ee677250(v=azure.10).aspx
但是,在 Windows 服务器上安装 AppFabric 1.1 时,我没有 cmdlet Set-ASAppServiceEndpoint,也找不到找到它的位置。