Question:
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
Answer:
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.
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 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 visited daily by more than 30.000 people and is most popular for its over high-quality Dreamweaver extensions and templates.







Comments
Miyamoto Musashi
What about Windows 2000 server?
troy hipolito
Sill issues
Lee Templeton
Still not working for me
Rita Bertoncini
relative path are not working in Windows 2003 Server
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.