CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2016

    ASP.NET maximum length exceed issue


    We have found error while exceeding maximum request length. It happens when we send request to the server.
    Can anyone please help with the technical solution for this.

    Thank you

  2. #2
    Join Date
    Aug 2016

    Re: ASP.NET maximum length exceed issue


    I was facing the same problem, I also tried to resolve this by myself but unable to do so. However, this company MSP IT Concepts ( resolved this for me. They have excellent ASP.NET development team which helped me fix this and many other bugs in my ASP.NET related stuff. you may want to get in touch with I'm sure they would be able to help. They are professionals & quick to provide accurate solution for your web development projects.


  3. #3

    Re: ASP.NET maximum length exceed issue

    If you are using IIS for hosting your application, then the default upload file size if 4MB. To increase it, please use this below section in your web.config -
            <httpRuntime maxRequestLength="1048576" />
    For IIS7 and above, you also need to add the lines below:
             <requestLimits maxAllowedContentLength="1073741824" />
    Note: maxAllowedContentLength is measured in bytes while maxRequestLength is measured in kilobytes, which is why the values differ in this config example. (Both are equivalent to 1 GB.)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width