IIS 6: Cannot attach file "Operation Not Allowed"

Error Message:

ASP 0101: Operation Not Allowed

Details:

In IIS 6.0, the ASPMaxRequestEntityAllowed value determines the maximum size POST to the website. If it isn't set high enough it will prevent you from uploading files.

Solution:

Change the ASPMaxRequestEntityAllowed to 1073741824 in the metabase.xml file (usually located in c:\windows\system32\inetsrv). To edit this while IIS is running, you may have to go into IIS, right-click on the computer name, and check the "Enable Direct Metabase Edit" box.

In IIS 7, navigate to the website, click on the ASP icon, and then change the Limit Property setting to the appropriate value.

Related:

To view very large files, you may need to increase the Response limit.