当前位置:网站首页>WebService error maximum message size quota for incoming messages (65536) has been exceeded
WebService error maximum message size quota for incoming messages (65536) has been exceeded
2022-07-28 06:20:00 【Haile learning】
WebService In the application, if the information received is very large, there will be an error .
1:Maximum message size quota for incoming messages (65536) has been exceeded. Exceeded incoming message (65536) Maximum message size quota for . To increase the quota , Use... On the corresponding binding element MaxReceivedMessageSize attribute .
explain : Execute the current Web During the period of the request , An unhandled exception occurred . Please check the stack trace information , To learn more about the error and the source of the error in the code .
Exception details : System.ServiceModel.QuotaExceededException: Exceeded incoming message (65536) Maximum message size quota for . To increase the quota , Use... On the corresponding binding element MaxReceivedMessageSize attribute .
terms of settlement :
modify Web.Config file , Among them MaxReceivedMessageSize It can be made bigger , Change to 2147483647 Okay .
maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"2: Read XML Data time , Maximum string content length quota exceeded (8192). Create by changing XML Used by the reader XmlDictionaryReaderQuotas Object's MaxStringContentLength attribute , This quota can be increased . The first 211 That's ok , The position is 394.
terms of settlement :
It's also a revision Web.Config Medium MaxStringContentLength , This problem occurs when some data are relatively long , Just make it bigger .
<readerQuotas maxDepth="64" maxStringContentLength="8192000" maxArrayLength="16384000"
maxBytesPerRead="4096000" maxNameTableCharCount="16384000" />Here is the complete code :
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="FileServiceSoapBinding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="64" maxStringContentLength="8192000" maxArrayLength="16384000"
maxBytesPerRead="4096000" maxNameTableCharCount="16384000" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="FileServiceSoapBinding1" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="64" maxStringContentLength="8192000" maxArrayLength="16384000"
maxBytesPerRead="4096000" maxNameTableCharCount="16384000" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>边栏推荐
- 弹出消息对话框的方法
- Summary of common WAF interception pages
- FLUKE福禄克Aircheck wifi测试仪无法配置文件?---终极解决心得
- (PHP graduation design) obtained based on PHP fruit sales store management system
- Realization of topic function
- 在Asp.net 中Cookie的用法
- 杭州某公司福禄克FLUKE DTX-SFM2单模模块-修复案例
- 关于Fusion on Apple Silicon的谨慎猜测
- Uniapp problem: "navigationbartextstyle" error: invalid prop: custom validator check failed for prop "Navigator
- Basic usage of word2vec and Bert
猜你喜欢

二、OpenVINO简述与构建流程

生活随机-1

Adaface: quality adaptive margin for face recognition image quality adaptive edge loss for face recognition

The short jumper dsx-8000 test is normal, but the dsx-5000 test has no length display?

arduino 读取模拟电压_MQ2气体/烟雾传感器如何工作及其与Arduino接口

Tornado first met

A comparative study of backdoor attack and counter sample attack

Ctfshow single dog -- Web

简述EMD分解、希尔伯特变换、谱方法

Notes on the thinking of software analysis and library acquisition of a Taobao customer
随机推荐
WebService出错 Maximum message size quota for incoming messages (65536) has been exceeded.已超过传入消息(655
2、 Openvino brief introduction and construction process
Geek challenge 2019-sql injection five questions PW
EIGamal cryptosystem description
在Asp.net 中Cookie的用法
Nanjing University of Posts and Telecommunications CTF topic writeup (I) including topic address
TVS管参数与选型
(PHP graduation project) based on thinkphp5 community property management system
浅谈FLUKE光缆认证?何为CFP?何为OFP?
三极管设计,理解饱和,线性区域和截止区
Summary of Intranet Information Collection
vSphere ESXi 7.0 Update 3 发行说明
福禄克DSX2-5000 网络线缆测试仪为什么每年都要校准一次?
A comparative study of backdoor attack and counter sample attack
ESXi 社区版网卡驱动
(PHP graduation design) obtained based on PHP fruit sales store management system
A NOVEL DEEP PARALLEL TIME-SERIES RELATION NETWORK FOR FAULT DIAGNOSIS
电快速脉冲群(EFT)设计-EMC系列 硬件设计笔记4
监控安装ESXi on Arm的树莓派4b的CPU温度
压敏电阻设计参数及经典电路记录 硬件学习笔记5