locked
cannot find uploadReadAheadSize in applicationHost.config in IIS7.5 RRS feed

  • Question

  • User-874403977 posted

    Hi,

            i would like to set the uploadReadAheadSize in applicationHost.config file in IIS7.5 but i cannot find the section for it. how do i add the

    uploadReadAheadSize to applicationHost.config file.?

    please help.

     

     

     

    Wednesday, July 20, 2011 9:25 PM

Answers

All replies

  • User1196771204 posted

    hi bobbyASP,

    please see http://forums.iis.net/t/1169257.aspx for solution.

    Please mark this response as an "answer" if it helps you 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, July 20, 2011 11:41 PM
  • User1258066674 posted

    Its an old post but i just solved it and i write how here:

    The uploadReadAheadSize flag isnt in the config file (at leat not mine) by default. Though it has and default value of 49152. (read link below)

    http://www.iis.net/configreference/system.webserver/serverruntime

    " The value must be between 0 and 2147483647."

    its easy set it in applicationHost.config-fle if you dont want to use cmd-things.

    its located in -->WindowsFOLDER\System32\inetsrv\config (2008 server)

    you must open it with notepad. do a Backup of the file first ...

    according to the comments in config-->

    "The recommended way to unlock sections is by using a location tag:
            <location path="Default Web Site" overrideMode="Allow">
                <system.webServer>
                    <asp />
                </system.webServer>
            </location>"

    so you can write in the bottom-->(since it doesnt exist before --> and i write maxvalue)

    <location path="THENAMEOFTHESITEYOUHAVE" overrideMode="Allow">
                <system.webServer>
                    <asp />
      <serverRuntime uploadReadAheadSize="2147483647" />
                </system.webServer>
            </location>

    if you put it last before </configuration> for example... you know where you have it....

    Hope that solves your problems. It was an SSL issue for me ..... to much post freezed the application ->(413) Request Entity Too Large error

    Friday, March 29, 2013 4:21 AM