Can’t upload large files in IIS6, and just getting “Operation not Allowed” errors?
Whatcha gotta do is edit the metabase. You have to change AspMaxRequestEntityAllowed in the metabase.xml file to whatever file size in bytes that you want to allow. Go forth and upload!
After further fun and games with another Windows 2003 Server that’s just been freshly installed, I have some more info on this uploading matter. The server was setup with IIS6 out of the box and then had the AspMaxRequestEntityAllowed value in the metabase.xml file changed. This caused uploads larger than about 200KB just to time out, seemingly forever. More annoying than complete failure, ’cause you have to wait…and wait…and wait to see if the upload is going to work — just slowly — or if it’s not going to work at all. So what I did, was also change the registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSetServices\w3svcparameters\MaxClientRequestBufferas it says to above in the Microsoft KB article. This, combined with the previously-made metabase change, seems to work satisfactorily.
Comment (1)
Is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSetServices\w3svcparameters\MaxClientRequestBuffer
in your registry? From what I recall, I had to create the AspMaxRequestEntityAllowed entry because it wasn’t there before.
If you still have problems after creating that registry entry, then what are you using to do the uploads? If it’s a COM object, Maybe you could try an ASP-only upload script and see if that works.