Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10/17/2007 7:55 PM by  Peter Donker
Biggest file to upload?
 7 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Jos Richters
New Member
New Member
Posts:4


--
10/16/2007 9:24 PM

    Hi all,

    what is the biggest file I can upload with DMX? (regardless if it is a zip-file)

    My web.config fileupload parameters are configured as:

    But is this the best choise? If not, what should it be?

    I just try to upload a wordfile with a size of approximat 10 Mb...... No succes, and the zipped version is about 4,7 Mb but can't be uploaded neither...

    I'm running DNN 4.2.6 and DMX 3.00.17 on WebHostforLife

    Who knows?????

    Thanks,

    Jos Richetrs

    Guido Kuehler
    Basic Member
    Basic Member
    Posts:149


    --
    10/17/2007 7:28 AM

    The maximum Filesize (Request-Length) is not defined by DMX but by DNN in web.config.

    Look for followed line in your web.config:

    <

    httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192" />

    The maximum Request-Length is set per default in web.config to 8192 = so 8mb you must set the maxRequestLength and requestLengthDiskTreshold to a higher Value.

    But you cannot calculate so that you set 8mb an can upload 8mb because when you have a slow upload you must set the value higher.

    This falues are important to prevent attacks of your Portal!

    Please consider when you made a update to a new version from dnn you must every check this line and set to the value what you in the version before!

    I hope this helps.

     

     

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    10/17/2007 11:39 AM
    Yes, and there's a second parameter: executionTimeout which is not mentioned. By default it's about 90 secs. Set this to a higher value as well or it will get cut off by IIS.
    Jos Richters
    New Member
    New Member
    Posts:4


    --
    10/17/2007 6:26 PM
    I know that the parameters are in web.config. I set them as follows:



    So that should be sufficient, but no luck.

    In my web.config is no parameter called "executionTimeout ".
    (This might be the solution, because the page is closed with an Timeout error...)

    Where do I place this "executionTimeout " in my web.config, and what is the syntax?

    Thanks,
    Jos Richters
    Jos Richters
    New Member
    New Member
    Posts:4


    --
    10/17/2007 6:28 PM
    Excuse me.... This forum does not aacept HTML syntax copied from my web.config....
    This is my maxupload parameter:

    httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="520000" requestLengthDiskThreshold="520000"

    Thanks,
    Jos Richters
    Jos Richters
    New Member
    New Member
    Posts:4


    --
    10/17/2007 6:38 PM
    OK, I checked out my WH4L account. I had some problems with the upload of big files (MP3's) before and they have given me an timeout af 120 seconds......
    Must I still set the timeout in my web.config to these 120 seconds to put this into effect?

    Thanks,
    Jos
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    10/17/2007 7:52 PM
    If you want to be sure, yes.
    Peter
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    10/17/2007 7:55 PM
    There's one other thing: server memory. The asp.net upload control loads the uploaded file into server memory. If server memory is exceeded, then the server chokes.

    Just to add to this thread: DMX does NOTHING regarding file size. It doesn't care one iota how big a file is. It doesn't even check DNN portal/host settings regarding quota etc.

    Peter
    You are not authorized to post a reply.