ASP Upload 500 Error when uploading files over ~65MB

darrens72
darrens72 used Ask the Experts™
on
Greetings,

I am demo'ing a few file uploaders on a server. They all work great until I try to upload a file greater than around 65MB or so. 60MB files upload fine. 70MB files fail with a 500 error. The scripts are all based in classic ASP running in IIS 6. Two have flash front ends and a third is a java applet.

I the metabase.xml file, I have set the following 2 variables:
AspBufferingLimit="4194304000"
AspMaxRequestEntityAllowed="4194304000"

I am also uploading via the local server so I am pretty sure it's not a timeout issue. Has anyone ever seen this before and can possibly recommend a solution?

Thanks in advance!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi, I think 1 GB is the maximum, so try to set it to:
AspMaxRequestEntityAllowed=1073741824

Here is a Microsoft article about that:
http://support.microsoft.com/?scid=kb%3Ben-us%3B327659&x=18&y=16

Commented:
Do you have any ISAPI filters configured in IIS that might be catching the large download? I ran into that a while back.

Commented:
Also, some more informative error messages may help us to understand the problem.

http://www.aspfaq.com/show.asp?id=2109 
11/26 Forrester Webinar: Savings for Enterprise

How can your organization benefit from savings just by replacing your legacy backup solutions with Acronis' #CyberProtection? Join Forrester's Joe Branca and Ryan Davis from Acronis live as they explain how you can too.

Thanks for the help. I finally found it in case anyone runs into the same problem. The files were being saved to a different drive in which IUSR_SERVERNAME had a disk quota set to 10mb. The account reached its quota and was not able to create more folders or upload files. I increased the quota and the problem went away.

I did this by right-clicking the drive, selecting properties, navigating to the quota tab, and clicking the "quota entries" button. There were a bunch of windows accounts listed in there, including IUSR_SERVERNAME. I right clicked the user and selected properties. From that interface, you can either set the user's quota to unlimited or a defined amount.

Commented:
Excellent. Thanks for coming back and posting your solution.

You should ask an admin to close this out and return points, as you found the solution yourself. :)
Hi, great, thanks for posting your solution, return points.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial