asp.net - post file gives 404 page result even though posted file is well under maxRequestLength

Viewed 7005

I have a page on my ASP.NET site which uploads files. I have attempted to tweak the web.config file to allow for larger uploads. In my web.config, I set:

<httpRuntime maxRequestLength="2097152" executionTimeout="3600" />

On my page, when I attempt to upload smaller files, no issue...even at 25MB. However, when I attempt to upload a 50MB file, I still get a 404 error page.

NOTE: I have a flash control on a different page which can upload almost 2gb with no issues, using this same web.config setting. Same result on different PCs, same result when posted to different web servers. My web server is Windows Server 2008 R2.

Any ideas of the cause? Why would flash be ok, but plain jane upload control have this problem?

2 Answers
Related