How to increase the MaFilesize to 10 mb

2 posts, 0 answers
  1. Chandrashekhar
    Chandrashekhar avatar
    4 posts
    Member since:
    Dec 2012

    Posted 06 Feb 2013 Link to this post

    I am using asynupload control where I have given the max file size as 100000 how can increase this to 10 mb?
    what are the configuration changes I need to do?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 06 Feb 2013 Link to this post

    Hello Chandrasekhar

    Setting the MaxFileSize on the RadAsyncUpload control, requires you to modify the maxRequestLength in your web.config file.
    The maxRequestLength is defaulted at around 4MB and it's the reason your 10MB file doesn't get uploaded.
    Try setting maxRequestLength  in your web.config as follows
          <httpRuntime maxRequestLength="102400" />
    Here the configuration, allowing uploads of files up to 100MB...

Back to Top