Error message 1
You experience one or more of these symptoms even though the same file upload worked in earlier versions of IIS.
Note This metabase property was first included in the October 2002 cumulative update for IIS. This metabase property is included in a default installation of IIS 6.0.
Note Always back up the metabase before you edit it.
To resolve this issue, modify the value in the AspMaxRequestEntityAllowed property to set the maximum number of bytes that are permitted in the entity body of an ASP request. To do this, follow these steps:
- At a command prompt, type the following command, and then press ENTER:cd drive:\inetpub\adminscriptsNote In this command to change folders, drive is a placeholder for the hard disk where IIS is installed.
- At a command prompt, type the following command, and then press ENTER:cscript adsutil.vbs set w3svc/ASPMaxRequestEntityAllowed sizeNote In this command, size is a placeholder for the largest file size upload that you want to allow. The maximum value is 1,073,741,824 bytes. Set this value to the lowest possible value that allows for the functionality that you want.
- At a command prompt, type the following command, and then press ENTER:iisreset
AspMaxRequestEntityAllowed property applies only to PUT requests and to POST
AspMaxRequestEntityAllowed property does not apply to GET requests. Because this metabase property applies only to ASP, other Internet Server API (ISAPI) extensions are not affected.
AspMaxRequestEntityAllowed property is related in function to the MaxRequestEntityAllowed property. However, the AspMaxRequestEntityAllowed property is specific to ASP requests. You can set the
MaxRequestEntityAllowed property to 1 megabyte (MB) at the World Wide Web Publishing Service (WWW Service) level. Then, you can set the AspMaxRequestEntityAllowed property to a smaller value if you know that your specific ASP applications handle a smaller amount of data.
Article ID: 327659 - Last Review: Mar 29, 2017 - Revision: 3