Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using XML file for sending data to WCF Service. I got below Issue when sending lengthy data (36KB) to service

"The remote server returned an unexpected response: (413) Request Entity Too Large."

How to solve this issue, Please help me.


Thanks in Advance..

What I have tried:

this is my app.config(Client) Binding settings
<wshttpbinding>
<binding name="WSHttpBinding_IService" closetimeout="00:05:00">
openTimeout="00:05:00" sendTimeout="00:05:00" maxBufferPoolSize="2147483647"
maxReceivedMessageSize="2147483647">
<readerquotas maxdepth="2147483647" maxstringcontentlength="2147483647" maxarraylength="2147483647" maxbytesperread="2147483647" maxnametablecharcount="2147483647">


Posted
Updated 12-Apr-16 1:20am

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900