2013-10-01 69 views
0

當嘗試一個大項插入的AppFabric緩存我得到一個錯誤AppFabric的QuotaExceededException

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時,我沒有Set-ASAppServiceEndpoint cmdlet,無法找到它的位置。

回答

0

錯誤不在AppFabric中。該服務需要更多的大小來將消息傳送到其他端點。你記得這個配置在兩個端點必須是相同的。