Windows 2003 IIS upload size limit

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.

 

Comentarios

Entradas populares de este blog

Ejecutar programa o servicio al iniciar windows server

Crear conexiones red TV DLNA con Windows Media 12 de Windows 7

Crear una maquina virtual Vmware desde una imagen Ghost de una maquina real