View Complete Thread
  • 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.