We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

IIS 10 - ARR - Use External Cache - Value does not fall within the expected rangeRSS

7 replies

Last post Apr 13, 2020 04:09 AM by carrzkiss

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

    Apr 05, 2020 06:43 PM|carrzkiss|LINK

    Hello All;

    As the titles states
    Windows 2016 Server
    IIS 10

    ARR

    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
    (OR)
    Specific user

    Click on [Apply]
    I get this error.

    Server Affinity
    There was an error while performing this operation.
    Detail:
    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.

    Wayne

    Knowledge is Power!
    Power is the sharing of Knowledge!

    CFF Knowledge Base

    Coding Source Share the Knowledge
  • Re: IIS 10 - ARR - Use External Cache - Value does not fall within the expected range

    Apr 07, 2020 06:02 AM|Jalpa Panchal|LINK

    Hi,

    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:

    https://social.technet.microsoft.com/wiki/contents/articles/30344.custom-iis-app-pool-identity-value-does-not-fall-within-the-expected-range.aspx

    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:

    https://forums.iis.net/t/1236124.aspx?Server+Affinity

    https://stackoverflow.com/questions/24237018/iis-7-value-does-not-fall-within-the-expected-range

    Regards,

    Jalpa

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
  • Re: IIS 10 - ARR - Use External Cache - Value does not fall within the expected range

    Apr 08, 2020 06:37 AM|carrzkiss|LINK

    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.

    Knowledge is Power!
    Power is the sharing of Knowledge!

    CFF Knowledge Base

    Coding Source Share the Knowledge
  • Re: IIS 10 - ARR - Use External Cache - Value does not fall within the expected range

    Apr 09, 2020 01:25 AM|carrzkiss|LINK

    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.

    Wayne

    Knowledge is Power!
    Power is the sharing of Knowledge!

    CFF Knowledge Base

    Coding Source Share the Knowledge
  • Rovastar Rovastar

    5495 Posts

    MVP

    Moderator

    Re: IIS 10 - ARR - Use External Cache - Value does not fall within the expected range

    Apr 09, 2020 09:51 PM|Rovastar|LINK

    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

    https://docs.microsoft.com/en-us/iis/extensions/configuring-application-request-routing-arr/achieving-high-availability-and-scalability-arr-and-nlb

    Troubleshoot IIS in style
    https://www.leansentry.com/
  • Re: IIS 10 - ARR - Use External Cache - Value does not fall within the expected range

    Apr 11, 2020 12:09 AM|carrzkiss|LINK

    I have both ARR servers inside [Network Load Balancing Manager]
    With the assigned IP Address of 192.168.2.46
    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.


    Knowledge is Power!
    Power is the sharing of Knowledge!

    CFF Knowledge Base

    Coding Source Share the Knowledge
  • Re: IIS 10 - ARR - Use External Cache - Value does not fall within the expected range

    Apr 11, 2020 12:51 AM|carrzkiss|LINK

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

    Knowledge is Power!
    Power is the sharing of Knowledge!

    CFF Knowledge Base

    Coding Source Share the Knowledge
  • Re: IIS 10 - ARR - Use External Cache - Value does not fall within the expected range

    Apr 13, 2020 04:09 AM|carrzkiss|LINK

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

    Knowledge is Power!
    Power is the sharing of Knowledge!

    CFF Knowledge Base

    Coding Source Share the Knowledge