404 error when uploading large files (4mb+) - asp.net

frenchies

New Member
I have wasted essentially my entire day working on this. It seems that large uploads worked previously, but now they don't even though I have all the settings I should need in my web config. Every singly time I upload, it processes very briefly then gives me a 404 - File or directory not found. I have searched far and wide and cannot seem to figure this out. If I lower the limits below the size of the file, it will throw an actual system exception, but when I raise it again it returns to a 404.Below are the sections I added to my web.config file a while ago:to the base:\[code\]<httpRuntime executionTimeout="900" maxRequestLength="4000000" />\[/code\]and to the system.webServer section:\[code\]<security> <requestFiltering> <requestLimits maxAllowedContentLength="4000000" /> </requestFiltering></security>\[/code\]I also overrode the applicatioHost.config setting for allowing the web config to override machine level settings.Any ideas?
 
Back
Top