IIS 5 & IIS 6
IIS 6 File Upload Issue
Last post Dec 11, 2007 03:26 PM by Enterhost_Dustin
Dec 11, 2007 10:02 AM|Lo-Tan|LINK
Ok, we have IIS 6.0 with an ISAPI redirect to Oracle Application Server set up on a Windows 2003 box. Whenever we upload a file less than 64MB in size, one of our w3wp.exe processes seem to do a fair amount of work and grow in memory usage, sometimes up
around 50-60MB or more, and the file upload is successful after so many seconds. However, if we upload a file larger than 64MB, the file upload SEEMS to take place because the upload will take the desired amount of time (100MB file will spend 30 seconds, 600MB
file will take 180 seconds, etc), but the w3wp.exe memory will remain the same and, after the upload finishes, we get an error code 1450 Insufficient resources exist error message.
I read at this URL http://forums.asp.net/p/1002803/1338921.aspx that .NET 1.1 has a related issue but .NET 2.0 fixed it. Would that fix only apply to .NET applications though, and not help us since we are just using AJP to redirect to a Java web server?
We have tried IIS 5.1 with the same ISAPI redirect to Tomcat and uploads work fine on a Windows XP machine and I had .NET 3.5 installed. I may install .NET 1.1 and give that shot to see if it breaks.
I believe our AJP configuration is pretty minimal, but I can grab those if necessary. Because the connector works with 5.1 of IIS, it makes me think our configuration of AJP should not be the issue.
If you want me to post any configuration items, I will have to talk to our server admins.
Dec 11, 2007 03:26 PM|Enterhost_Dustin|LINK
There are a couple of limits in IIS6 that prevent large uploads. Check the metabase.xml file in c:\windows\system32\intserv for "AspMaxRequestEntityAllowed"
increase it if neccessary
There is also a limit in .Net. Check the for the maxRequestLength string in the machine.config/web.config for the .Net version you are using. I'm not 100% sure it will fix the upload issue, but worth a shot.