Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
URGENT! IGUpload control won't accept file larger than 28M though configured for 50M
posted

Referring to the this blog that provides an example on how to use the upload control:

http://forums.infragistics.com/blogs/damyan_petev/archive/2011/09/03/using-netadvantage-jquery-upload-control-in-asp-net-mvc.aspx

 

Using the code in this example, I cannot upload a file that is greater than 28Mb, I get a server side error: Max file size error, even though the web.config "should" allow a file upto 50Mb.

I am also getting this in our application as well.

Using:

VS2010 - running in local web server or IIS Express or IIS7

Windows 7, 64 bit.

Browser(s) tested:

Chrome 17.0.963.56 m

FireFox 10.0.2

IE9

Parents
No Data
Reply
  • 23953
    Verified Answer
    Offline posted

    Hi frodriguez2,

    This is server side error.

    You can read the following forum thread which seems to be related to your problem:

    http://forums.infragistics.com/forums/t/66860.aspx

    You can also check the following forum post which describes IIS 7 file size limit configuration:

    http://community.infragistics.com/forums/t/64887.aspx#329039

     

    This is how your web.config should look like in system.webServer section:

    Code Snippet
    1. <system.webServer>
    2. <validation validateIntegratedModeConfiguration="false"/>
    3. <modules runAllManagedModulesForAllRequests="true">
    4.     <add name="IGUploadModule" type="Infragistics.Web.Mvc.UploadModule" preCondition="managedHandler" />
    5. </modules>
    6. <handlers>
    7.     <add name="IGUploadStatusHandler" path="IGUploadStatusHandler.ashx" verb="*" type="Infragistics.Web.Mvc.UploadStatusHandler" preCondition="integratedMode" />
    8. </handlers>
    9. <security>
    10.     <requestFiltering>
    11.         <requestLimits maxAllowedContentLength="1073741824"/>
    12.     </requestFiltering>
    13. </security>
    14. </system.webServer>

     

    And this is how your web.config should look like in your appSettings section:

    Code Snippet
    1. <appSettings>
    2.     <add key="fileUploadPath" value="~/Uploads" />
    3.     <add key="maxFileSizeLimit" value="40000000" />
    4. </appSettings>

     

    If the above solutions don't help you It will be good to give non working sample for me to investigate.

     

    Hope this helps,

    Martin Pavlov

    Infragistics, Inc.

Children