Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8791463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:50:47+00:00 2026-06-13T22:50:47+00:00

Ii have a problem similar to: How to set the maxAllowedContentLength to 500MB while

  • 0

Ii have a problem similar to: How to set the maxAllowedContentLength to 500MB while running on IIS7?

The difference is that I have already modified my web.config to accept files upto 2 Gb in size but when try and upload a large file, I get the following error:

The request filtering module is configured to deny a request that exceeds the length of the content.

my web.config is this:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <system.web>
        <httpRuntime executionTimeout="999999" maxRequestLength="2097151"/>
        <customErrors mode="Off"/>      
        <compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />
            <membership>
            <providers>
            <clear/>
            </providers>
        </membership>
        <profile>
            <providers>
            <clear/>

            </providers>
        </profile>
        <roleManager enabled="false">
            <providers>
            <clear/>

            </providers>
        </roleManager>
</system.web>
<system.webServer>
    <security>
        <requestFiltering>
            <requestLimits maxAllowedContentLength="2097151" />
        </requestFiltering>
    </security>
</system.webServer>

I still receive the error when i try to upload a file that it is only 131 MB.

So, what should I set in the maxAllowedContentLength settings to allow people to upload files over 100 MB please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:50:47+00:00Added an answer on June 13, 2026 at 10:50 pm

    While MaxRequestLength is number of kilobytes, maxAllowedContentLength is number of bytes. Multiply it again by 1024, and it should work fine.

    maxAllowedContentLength
    Optional uint attribute.
    Specifies the maximum length of content in a
    request, in bytes.
    The default value is 30000000.
    http://msdn.microsoft.com/en-us/library/ms689462(v=vs.90).aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Similar to this question: link However I have already mastered that. My problem is
I have a problem that I have found many similar problems related to multi
I have a problem that is described here: TFS: cannot set up new build
I have problem SIMILAR to preventing form data reposting, but not quite the same
I have a problem similar to the egg and the chicken. I have two
I have similar problem to one discussed here , but with stronger practical usage.
I suppose similar problem would have been discussed here, but I couldn't find it.
I notice this thread: Fastish Python/Jython IPC , and I have a similar problem,
My problem is similar to Django Passing Custom Form Parameters to Formset Ive have
Here is my problem I have arraycollection with the attribute Month with similar data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.