CFF KB - Carrz-Fox-Fire Promotions Knowledge Base

CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.
  • Breadrumbs:
  • ASP 0104 : 80004005' Operation not Allowed

  • CFF Knowledge Base - Share With Facebook CFF Knowledge Base - Share on Twitter CFF Knowledge Base - Share on Reddit CFF Knowledge Base - Share on Digg It CFF Knowledge Base - Share on Stumble Upon It CFF Knowledge Base - Share on Delicious
    Share With Friends (Updated 6-8-2010)
  • Article ID:
    6257
  • Date Created
    Tuesday, July 19, 2022
  • This Article Has been Viewed
    448 times
  • Short Desc
    When inserting large amounts of data from a Classic ASP page, you might receive the 80004005' Operation not Allowed.
  • Details
    When trying to insert or upload large amounts of data on an IIS System with default settings, you will run into a limit set by default. This limitation requires some extra steps to allow maximum data insertion from your ASP Forms to your database or folders.
  • Recreate Issue
    IIS Default settings limit the amount of data transmitted from user to server.
  • Resolve Issue
    Install [IIS 6 Scripting Tools]

    Step #1
    Windows Professional Operating Systems (Not including Servers)
    Right-click on the [Start Menu]
    Choose [Apps & features]
    On the Right
    Click on [Programs and Features]
    When dialog opens
    Left-side, click [Turn Windows features on or off]
    When dialog opens
    Expand [Internet Information Services]
    Expand [Web Management Tools]
    Expand [IIS 6 Management Compatibility]
    Click on [IIS 6 Scripting Tools] (This will auto select [WMI] and [Metabase])
    Click [OK]
    Once the installation completes, move to Step 3

    Step #2
    Windows Servers
    Open [Server Manager]
    =-=-=-=-=-==-=-=-=-=-=(Single Server)=-=-=-=-=-==-=-=-=-=-=-=-=-
    Click on [Add roles and features]
    =-=-=-=-=-=(Administrator Panel for Multiple Servers)=-=-=-=-=-=
    Click on [All Servers] from the Left panel
    Right-click on the Server to add the feature, and choose [Add roles and features]
    Click on [Next] on the following three windows.
    Ont the [Server Roles] tab
    Expand [Web Server (IIS) 25 of 41 installed] (Your number will vary)
    Expand [Web Management Tools (Installed)]
    Expand [IIS 6 Management Compatibility]
    Check [IIS 6 Scripting Tools]
    Click [Next] on the following two windows.
    Then click [Install]
    Once completed, move to Step #3

    Step #3
    On each server, open a command prompt and run the following commands.
    (To bring you to the root of C driver)
    cd \
    (To navigate to the folder we just installed)
    cd inetpub\AdminScripts
    (Run the following script, change the number at the end to the size you require)
    cscript adsutil.vbs set w3svc/ASPMaxRequestEntityAllowed 2048000000

    Example of sizes to use
    5000000 = 5mb
    50000000 = 50mb
    500000000 = 500mb
    1000000000 = 1GB (or 1,000MB)
    1500000000 = 1.5GB (or 1,500MB)
    2048000000 = 2.048GB (or 2,048MB)


    Your output will look something similar to this. (With the above settings)

     
    Microsoft (R) Windows Script Host Version 5.812
    Copyright (C) Microsoft Corporation. All rights reserved.

    ASPMaxRequestEntityAllowed : (INTEGER) 2048000000