Question

I'm running IIS 6.1 and I am attempting to upload a file through the browser. I'm running into issues when I upload large files. After doing some digging around, I know I have to edit the AspMaxRequestEntityAllowed parameter in the metabase.xml file, however that parameter is not set to begin with.

When I attempt to upload a file, I get the following erorr:

request object error asp 0104 : 800004005

Thanks.

Was it helpful?

Solution

Use adsutil.vbs to set the AspMaxRequestEntityAllowed parameter from a command prompt:

cscript adsutil.vbs set w3svc/ASPMaxRequestEntityAllowed 2048000

sets the value to 2MB

adsutil.vbs is located in C:\inetpub\adminscripts

Be sure to give the account running the Application Pool write permissions on the directory you're trying to write to. If I remember correctly, the default AppPool account in IIS6 is NETWORK SERVICE

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top