when upload larger file, getting this error:Error 404 - File or directory not found
asp.net, web-config
Solution
o finally got the right solution for this issue, we need add requestFiltering under security in web configuration, following are the code i added in web.config and its start allowing me to upload larger file:
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="104857600" />
</requestFiltering>
</security>
Thanks!!!
Problem
We are getting error when trying to upload a large size video file to our admin site. We are able to upload small size file without a problem, this error start happening when file size more then 10Mb, where as we already increase size by following configuration setting in web.config: ``` <httpRuntime executionTimeout="2400" maxRequestLength="102400" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true" /> ``` and Error message is when we upload larger file: ``` Error 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. ```