WebService各種錯誤記錄


The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
修改: maxReceivedMessageSize與maxBufferSize的值

The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://xxx.com/:GetActiveResponse. The InnerException message was 'There was an error deserializing the object of type TESTHomeinnsApi.Homeinns.GetActiveResponseBody. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 9827.'.  Please see InnerException for more details.
修改maxStringContentLength的值

 

Refer:
MaxArrayLength:
http://scorpiotek.com/blog/?p=393
2G: http://social.msdn.microsoft.com/Forums/zh-CN/wcf/thread/bbc9eae4-74f6-4dfd-a813-f61a7bbfcf0b
http://www.vishwamohan.com/post/2009/08/03/WCF-Service-Error-The-maximum-message-size-quota-.aspx
http://blog.csdn.net/faunjoe/article/details/4636074


注意!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系我们删除。



[置頂] 錯誤記錄 【華為】簡單錯誤記錄 腦殘錯誤記錄 springBoot學習 錯誤記錄 streamsets 錯誤記錄處理 docker操作錯誤記錄 HWOJ 簡單錯誤記錄 QT 常遇錯誤記錄 python 錯誤記錄及處理 IAR常見錯誤記錄
 
粤ICP备14056181号  © 2014-2021 ITdaan.com