Question ASP.NET - maximum length exceed error

markcollins894

New member
Joined
Aug 29, 2016
Messages
1
Programming Experience
5-10
Hello,

We are facing error while exceeding maximum request length. It appears when we send request to server.

If anyone can help to fix it then please do the needful.

Thank you
 
Can you please be more specific? Are you saying that you're trying to load a web page and the request you're sending from the browser is too large? Here is an example of some request limits from the config file of a web service I worked on lately. I imagine that you can set similar limits for a web site, although I've never actually done it. Maybe look up the attribute values and see if they apply.

C#:
    <bindings>
      <wsHttpBinding>
        <binding name="dxWsBinding" maxReceivedMessageSize="1073741824">
          <readerQuotas maxDepth="64" maxStringContentLength="2147483647" maxArrayLength="10485760" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="None">
            <transport clientCredentialType="None" />
            <message establishSecurityContext="false" />
          </security>
        </binding>
      </wsHttpBinding>
    </bindings>
 

Latest posts

Back
Top Bottom