Skip to main content

Posts

Showing posts from November, 2011

Error: Request object error 'ASP 0104 : 80004005' Operation not Allowed

You may receive a 403 error when you use an ASP request to upload a large file in Internet Information Services


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\adminscripts
by default you can find inetpub under c drive
Note 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 1,073,741,824
Note 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 the…