When I was using AsyncFileUpload
to upload 100KB image, I got no error message., but image not uploaded. I can upload 75KB image succssfully. I am using IIS 6.0.
<cc1:AsyncFileUpload ID="afuImg" Width="400px" runat="server"
UploaderStyle="Traditional" ThrobberID="Throbber2"
OnClientUploadError="uploadErrorImg"
OnClientUploadStarted="StartUploadImg"
OnClientUploadComplete="UploadCompleteImg" />
<httpRuntime maxRequestLength = "1024000"
executionTimeout="54000"
enableHeaderChecking ="false" />
You can upload files with a combined size of up to 2GB, but it requires some modifications in your application configuration files.
Open the file C:\Windows\System32\inetsrv\config\applicationHost.config and find the line:
<section name="requestFiltering" overrideModeDefault="Deny" />
Finally Though I don't see it very often
Also there is another question on stackoverflow which goes into this How do I configure IIS to handle really large file uploads?
In the above question the answer https://stackoverflow.com/a/206796/728841 lists Urlscan being the problem it has it's own request entity length limit. The person was not aware that Urlscan was running on the server because it was a global ISAPI filter, not running on the individual website.
Note: to locate global ISAPI filters, right click on the Web Sites folder in IIS Admin and click Properties, then on the ISAPI Filters tab.