File upload problem...

Discussion in 'ASP.NET / ASP.NET Core' started by blabberblog, Jun 5, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. What is the maximum size allowed by Discount ASP for a file upload?

    I know this value is specified in the machine config file.
    I have to allow users to upload mp3 files and they can be pretty large.

    Pete
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    I do not think the server cares about the file size, its a application thing.


    quote:Originally posted by blabberblog

    What is the maximum size allowed by Discount ASP for a file upload?

    I know this value is specified in the machine config file.
    I have to allow users to upload mp3 files and they can be pretty large.

    Pete
    </blockquote id="quote"></font id="quote">
     
  3. Yes , there is a setting in the Machine.config for max size upload and download.

    I beleive the default is 4M. I was wondering if this is set because I amd having problems with users that try to upload files larger than 4M.

    Pete
     
  4. I created a problem ticket. The response was:

    ASP.NET allows up to 4M

    That's it.

    Now I know if they change it in the machine.config they can make it higher.
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    Please create a support ticket.
    I am guessing that the machine.config file setting is overriding the web.config setting.

    quote:Originally posted by blabberblog

    Yes , there is a setting in the Machine.config for max size upload and download.

    I beleive the default is 4M. I was wondering if this is set because I amd having problems with users that try to upload files larger than 4M.

    Pete
    </blockquote id="quote"></font id="quote">
     
  6. Bruce

    Bruce DiscountASP.NET Staff

    Hmmm...

    i am not sure about that. i'll bring it up to the SA team in our next meeting.

    quote:Originally posted by blabberblog

    I created a problem ticket. The response was:

    ASP.NET allows up to 4M

    That's it.

    Now I know if they change it in the machine.config they can make it higher.
    </blockquote id="quote"></font id="quote">
     
  7. OK

    Let me know what they say

    Pete
     
  8. Bruce

    Here is the machine config code:

    <httpRuntime
    executionTimeout="90"
    maxRequestLength="4096"
    useFullyQualifiedRedirectUrl="false"
    minFreeThreads="8"
    minLocalRequestFreeThreads="4"
    appRequestQueueLimit="100"
    />

    If maxRequestLength is set to 4096 then I cannot override this in the web config.

    Do you know what the max upload file size is set to in the machine.config?

    Thanks
     
  9. Bruce

    Bruce DiscountASP.NET Staff

    Ok...

    there were some inconsistency on this value among our server. We have standardize it to 10MB


    quote:Originally posted by blabberblog

    Bruce

    Here is the machine config code:

    <httpRuntime
    executionTimeout="90"
    maxRequestLength="4096"
    useFullyQualifiedRedirectUrl="false"
    minFreeThreads="8"
    minLocalRequestFreeThreads="4"
    appRequestQueueLimit="100"
    />

    If maxRequestLength is set to 4096 then I cannot override this in the web config.

    Do you know what the max upload file size is set to in the machine.config?

    Thanks
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page