cannot upload pdf file when file size more than 35 mb RRS feed

  • Question

  • User-535616387 posted

    Hi guys,

    please help, 

    i can't upload pdf file when file size more than 35 mb

    please tell me what's wrong with my web.config ?

     <httpRuntime maxRequestLength="2073741824" executionTimeout="9999999999" shutdownTimeout="999" requestLengthDiskThreshold="256" requestValidationMode="2.0" />
    	<requestLimits maxAllowedContentLength="4294967295"></requestLimits>

    Thanks & Regards,

    Tuesday, August 28, 2018 7:54 AM

All replies

  • User-183374066 posted

    <requestLimits maxAllowedContentLength="4294967295"></requestLimits>

    I doubt the value you assign might not correct as max int value is 2147483647. Try some lesser value. Other than that configuration seems correct. First change the value and give it a try. If it doesn't work than try to temporarily change ApplicationHost.config value. You follow link below 

    Increase upload file size in Asp.Net core

    Tuesday, August 28, 2018 10:52 AM