Upload large files on Windows 2003 server
(August 12, 2003)
Question:
Does Pure ASP Upload support uploading large files on Windows 2003 server? I'm getting the following error:
Request object error 'ASP 0104 : 80004005'
Operation not Allowed
/ScriptLibrary/incPureUpload.asp, line 40
Answer:
Yes, Pure ASP Upload supports uploading large files on the Windows 2003 server. However:
IIS6.0 prevent the upload of files more than +200Kb. So you need to make some changes in the default IIS settings first.
Background
For IIS6.0 users, the AspMaxRequestEntityAllowed property specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of AspMaxRequestEntityAllowed, IIS returns a 403 error response.
This property is related in function to MaxRequestEntityAllowed, but is specific to ASP request. Whereas you might set the MaxRequestEntityAllowed property to 1 MB at the general World Wide Web Publishing Service (WWW Service) level, you may choose to set AspMaxRequestEntityAllowed to a lower value, if you know that your specific ASP applications handle a smaller amount of data.
Solution
Open your metabase.XML which is located in c:\Windows\System32\Inetsrv find the line "AspMaxRequestEntityAllowed" and change it to "1073741824". This is 1GB - of course you can enter another value to suite your needs.
NOTE: Before you edit the file, be sure to stop the IIS service first or else you won't be able to save the file.
For Windows Vista and Windows 2008 see this FAQ
George Petrov
George Petrov is the Founder of the highly successful Zones: DMXzone.com, FWzone.net, FLzone.com, CFzone.net, DNzone.com and FlashFiles.nl
He has developed the comprehensive Dynamic Zones Content Management System that is the brains driving them and constantly supports their online communities with his extensive and valuable knowledge.
He is a renowned web development 'Guru' who has written many articles and extension for Adobe's Dreamweaver.
George Petrov is also the CEO and Founder of Dynamic Zones and also very proud of his children Sofie, Victor and Alexander!
User Reviews
Total of 13 reviewsWhat about Windows 2000 server?
Written by Miyamoto Musashi on October 25, 2006I can't seem to find any info on how to do with Windows 2000 server. It uses metbase.dll and metabase.bin... no XML file to be edited. Can you help?
Sill issues
Written by troy hipolito on July 24, 2006ON IIS6 we get this issues on large files Request object error 'ASP 0101 : 80004005' Unexpected error D:\W3SITES\THEJONES\WWW\CLIENTS\FTS\../../ScriptLibrary/incPureUpload.asp, line 62 The function returned |. I did a search on this error and it ...
Still not working for me
Written by Lee Templeton on July 5, 2005I've followed the instructions as stated above and modified MetaBase.xml and even the MBSchema.xml but the system still have problems when the file is over 3.3 megs. Also, I have noticed that the MBSchema.xml file always reverts back to 200000 for ...
relative path are not working in Windows 2003 Server
Written by Rita Bertoncini on September 15, 2004I cannot get Pure ASP Upload 2.13 on Win2003Server. Apparently the relative path is not working. Can you help? Server.MapPath()error 'ASP 0175 : 80004005' Disallowed Path Characters /Library/incPureUpload.asp, line 204 The '..' characters are ...
Very helpful
Written by Mikey McCorry on September 1, 2004This fix also solves problems with any kind of BinaryRead error with any other ASP COM objects like Persits.Upload, SAFileUP etc. Thanks heaps.
WITHOUT STOPPING IIS6
Written by shane anderson on June 25, 2004If you don't wnat to to stop iis and close your sites: Open your internet services manager > right click on first folder (services?) > properties > check 'enable direct metabase edit' > save your file > remove check on 'enable direct ...
Still unable to upload files above 1 mb
Written by Frederik Bay on April 7, 2004Have used the fix i.e. changed the metabase.xml file, but I'm still unable to upload files above 1 mb. Is there an other setting I'm missing in IIS 6??
webmaster@dagarweb.com
Written by pedro garcia on March 28, 2004Why it does not pass this with pureasp single? and if altogether with the imageprocessor, I believe that deberiais of haceros that question or to change the way in which pureasp and imageprocesso altogether raises the photos. Thanks.







