Persits Software, Inc. Knowledge Base Articles

Windows 2003 upload size limit - error 800a0001

Problem Description

Windows 2003 by default limits upload sizes to 200 KB for ASP pages. With AspUpload, this usually manifests as an error such as these:

Persits.Upload.1 error ' 800a0001 '
Request.BinaryRead Failed.

Persits.Upload.1 error ( 0x800a0001 )
Unspecified error

Solution

IIS 6.0 on Windows 2003 has a file named metabase.xml which resides in the folder C:\Windows\system32\inetsrv . By default, this file has this entry:

AspMaxRequestEntityAllowed = "204800"

This limits upload size to 204,800 bytes. You can change that to a large value (such as 2000000000 for 2 gigabytes) to allow your Windows 2003 server to accept large uploads.

If your server does not allow the Metabase Edit-While-Running feature, you will need to stop the IIS service before you can save the metabase.xml file.