vivek verma

vivek verma

  • 1.7k
  • 58
  • 10.9k

Request Entity Too large 413 error

Apr 13 2018 12:00 AM
Hi,
 
Unable to send upload data to rest WCF service ...got an error
 
"Request Entity Too large 413 error"
 
web config...details
 
<binding name="webHttpBinding_IMedimizerAPIExportImport" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" receiveTimeout="00:40:00" openTimeout="00:40:00" closeTimeout="00:40:00" sendTimeout="00:40:00">
<readerQuotas maxDepth="214748364" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<security mode="None" />
</binding>
 
and client side calling
 
as below string sResult = webClient.UploadString("http://localhost:98/MedimizerAPIExportImport.svc/ReadWorkorderfromSerial/1/1d8435b839614e4b", "POST", data);
also, update ISS request filtering and uploadReadAheadSize.
 
Please suggest...?

Answers (1)