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

  • SEARCH
  • Home
  • 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 4582178
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:02:13+00:00 2026-05-21T21:02:13+00:00

I am playing around with plupload and I made a huge file that is

  • 0

I am playing around with plupload and I made a huge file that is 80mb and I am trying to upload it.

plupload looks like it is uploading it. It starts at 0% and goes to 100%.

Now it dies at the server and the reason is because the default limit size is like 4mbs in the web.config controlled by this

<httpRuntime executionTimeout="240" maxRequestLength="102400" />

When I set it to a high number like above the file uploads and I hits my break point. If I don’t have the above set and upload a large file(over 4mb) It never hit’s my break point in my action method.

So how can I tell my users that hey they reached the limit? If I can’t get into my methods and at the very least return a message back. Right now they would think that all was well and it uploaded.

I know plupload does have stuff that checks the file size but I treat that like client side validation and now I am trying to do server side validation.

 [HttpPost]
        public JsonResult Import(HttpPostedFileBase file)
        {
            // never gets here if file is bigger than the web.config size.
            if (ModelState.IsValid)
            {

            }

        }
  • 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-05-21T21:02:14+00:00Added an answer on May 21, 2026 at 9:02 pm

    You may take a look at the following blog post which suggests handling this exception in the Application_Error method.

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

Sidebar

Related Questions

While playing around with the emulator, I noticed that when trying to view a
playing around with a property file i figured that there seems to be a
Been playing around with node.js and I am developing a file uploading web app
Playing around with MongoDB and NoRM in .NET. Thing that confused me - there
Im playing around with the Tablesorter plug-in for jQuery and was trying to get
Just playing around with java trying to learn it etc. Here is my code
When playing around with multiprocessing I noticed that in the following script, __del__ is
Been playing around with JavaScript, and what Im trying to do is only allow
While playing around with playframework yabe-siena-gae, I noticed a datastore file created for the
Been playing around with Highcharts.js and am trying to get a percent stacked chart

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.