IIS 10 - ARR - Use External Cache - Value does not fall within the expected range RRS feed

  • Question

  • User1274550967 posted

    Hello All;

    As the titles states
    Windows 2016 Server
    IIS 10


    Use External Cache > Value does not fall within the expected range

    When I enable
    [x]Use external cache
    File Share Path: \\Cache01\Caching
    Then set either 
    Worker process
    Specific user

    Click on [Apply]
    I get this error.

    Server Affinity
    There was an error while performing this operation.
    Value does not fall within the expected range.

    I then added the same user as the [Identity] of the application pool.
    And still the same error.

    I checked the Event Viewer, and there is nothing listed for this error.
    I really wish Microsoft would have written a better error for this one.

    I am following the instructions on this link here.
    Using Multiple Instances of Application Request Routing (ARR) Servers

    Everything is ready; I just need to get this part done.
    Thanks for any assistance anyone can give me.


    Sunday, April 5, 2020 6:43 PM

All replies

  • User-848649084 posted


    This error occurs only if you are specifying a custom account and not using any predefined accounts such as ApplicationPoolIdentity or NetworkService.

    The username and password fields of the custom application pool identity window in IIS Manager has only basic validations such as empty field check, password match check, local user check (no check for domain users). Therefore, “Value does not fall within the expected range” issue is not always a good clue to lead to the solution.

    It is likely that there is something simple but easy to miss (a formatting issue in the config files etc.) is causing this issue. I would recommend taking the actions below first:

    1)Check the application pool identities in the applicationHost.config file (C:\Windows\System32\inetsrv\Config) for any syntax issues

    2)Try to obtain a clean copy of applicationHost.config and replace it with the current one

    3)Restart Windows Process Activation Service:


    4)Close and reopen IIS Manager

    If this doesn’t work:

    - Create a new application pool and try set its application pool identity

    - Try to open IIS Manager as a local or domain administrator if you are not already

    - Check Event Viewer for more details of the error message

    You could refer the below link for more detail:





    Tuesday, April 7, 2020 6:02 AM
  • User1274550967 posted

    Did everything you stated to try.
    Checked the links and tried everything that had, and still the same issue.
    Even changing back to the ApplicationPoolIdentity and using it.
    Still, the same error.

    Wednesday, April 8, 2020 6:37 AM
  • User1274550967 posted

    There is also no events triggered in the Event Viewer, unfortunately.
    I wish there were something that would point me in the right direction to figuring this out.
    I have run a single ARR server for the last year, but if something happens at any given time, with that single server, then all the sites go down until that server comes back online.
    I need more ARR servers in this forest, and this is the only way I have found to do it.
    However, IF you know of a better way of having multiple ARR servers in the first, PLEASE let me know.


    Thursday, April 9, 2020 1:25 AM
  • User-2064283741 posted

    Does it work with multiple ARRs without the External Cache setup?

    I don't use host name affinity but is that setup correctly.

    HOw have you setup the load balancing of your ARRs?

    NLB? like


    Thursday, April 9, 2020 9:51 PM
  • User1274550967 posted

    I have both ARR servers inside [Network Load Balancing Manager]
    With the assigned IP Address of
    I go to the IP address, and it brings open the default Microsoft [Internet Information Services] page
    But that is about it.
    I have NO idea on how to run multiple ARR Servers, which is the reason I was following that article.
    If you know of a better way to set them up, please let me know.

    I know how to setup ARR to run multiple IIS Server Nodes.
    Just not how to run the multiple ARR Servers.

    Saturday, April 11, 2020 12:09 AM
  • User1274550967 posted

    I opened another TA in the Web farm Category here on IIS.
    Setting up Multiple ARR Servers in our farm

    Saturday, April 11, 2020 12:51 AM
  • User1274550967 posted

    I got it working.
    Please check it out here. Setting up Multiple ARR Servers in our farm

    Monday, April 13, 2020 4:09 AM