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 7717639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:57:09+00:00 2026-06-01T02:57:09+00:00

I use Valums to upload large files under MVC3 Razor. Somehow It uploads only

  • 0

I use Valums to upload large files under MVC3 Razor.

Somehow It uploads only small files about 1Mb.

I already used web.config settings which should be good Large File Uploads Fails in Chrome with Valums

But it doesn’t help.

Here is my JS

 <script type="text/jscript">
        var uploader = new qq.FileUploader({
            element: document.getElementById('file-uploader-demo1'),
            allowedExtensions: ['jpg', 'jpeg', 'png', 'gif'],
            sizeLimit: 1024*1024*1024,  
            action: '/Test/UploadFile',
            multiple: false,
            onSubmit: function (id, filename) {
                this.params.param1 = $("#ImageTitle").val();
            },
            onProgress: function (id, fileName, loaded, total) {
                //  $('.qq-upload-list').hide();
            },
            onComplete: function (id, fileName, responseJSON) {
                $('.qq-upload-list').hide();
                $("#ImageTitle").val("");
                genTable(responseJSON);
            }
        });

        function genTable(data) {
            var contentData = '';
            contentData += "<img class='myclass' src='/Test/Orders/thumb-" + data + "' />";
            $("#ImageList").html(contentData);
        }

        window.onload = createUploader;     
    </script>

Here is my web.config

<httpRuntime   
                 maxRequestLength="1024000"
                 requestLengthDiskThreshold="1024000"
                 executionTimeout="18000" 
                 />
</system.web>

<system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <modules runAllManagedModulesForAllRequests="true"/>
    <security>
        <requestFiltering>
            <requestLimits maxAllowedContentLength="1073741824" />
        </requestFiltering>
    </security>
  • 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-01T02:57:10+00:00Added an answer on June 1, 2026 at 2:57 am

    There are two possible reasons. First, your maxRequestLength attribute of the httpRuntime

    http://msdn.microsoft.com/en-us/library/e1f13641(VS.71).aspx

    has too small value. The runtime rejects too large requests and you just have to make this value larger.

    However, the default request limit is around 4mb and you seem to be unable to post files larger than 1mb. It is possible then that your hosting provider imposes its own limits on the request size. If this is so, you’d have to negotiate the limit directly with your provider.

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

Sidebar

Related Questions

I am using the Ajax.Upload plugin ( http://valums.com/ajax-upload/ ). I am trying to use
When I use Commons FileUpload the method parseRequest(request) uploads files and also reads additional
I'm using this pluging to upload files: https://github.com/valums/file-uploader But now I starts the upload
I want to replace input=file button to only text like that http://valums.com/wp-content/uploads/ajax-upload/demo-jquery.htm but i
I'm trying to use AjaxUpload with Python: http://valums.com/ajax-upload/ I would like to know how
I'm trying to use valums ajax uploader. http://valums.com/ajax-upload/ I have the following on my
I am using the Valums Ajax Uploader to upload a batch of files. We
I am trying to use Valum's Ajax Upload to do file uploads on a
I'm trying to use this plugin http://valums.com/ajax-upload/ . I added a file-limit, I want
I am using the file uploader plugin (from: https://github.com/valums/file-uploader ) to upload files to

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.