Upload Large Files on Windows 2003 server
August 12, 2003 by George Petrov


Does Pure ASP Upload 3 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


Yes, Pure ASP Upload supports uploading large files on the Windows 2003 server. However:

IIS6.0 prevents the upload of files more than +200Kb. So you need to make some changes in the default IIS settings first.


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.


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 PetrovGeorge Petrov is a renowned software writer and developer whose extensive skills brought numerous extensions, articles and knowledge to the DMXzone- the online community for professional Adobe Dreamweaver users. His expertise in countless languages and technologies gives inspiration and teach valuable lessons on his website – DMXzone.com which is most popular for its over high-quality Dreamweaver extensions and templates.

See All Postings From George Petrov >>

Place your comment about Upload Large Files on Windows 2003 server

You must me logged in to write a comment
What about Windows 2000 server?
October 25, 2006 by Miyamoto Musashi
I 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
July 24, 2006 by troy hipolito
ON 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 stated some asp components will not work with large files under IIS6. I have tried everything and still get issues.
Still not working for me
July 5, 2005 by Lee Templeton
I'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 the AspMaxRequestEntityAllowed setting, even after manually changing and saving it to a much larger value. I do not get the 403 error, but anytime I try to upload a file larger than 3.3 megs or multiple files accumulating to over 3.3 megs, the process seems to hang for 2 minutes and the server times out. Any files smaller than 3.3 megs will upload in just a couple of seconds. Any help with this?
relative path are not working in Windows 2003 Server
September 15, 2004 by Rita Bertoncini

I 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 not allowed in the Path parameter for the MapPath method.

See all 13 Comments