Server Proxy set teeth ... cannot be executed on Windows10 IIS ARR

佐藤 仁 1 Reputation point
2021-11-11T06:02:25.54+00:00

Repeatedly enable → disable → enable in Windos10 IIS, and press Server Proxy set teeth ... in ARR at the last enable

Server routing rules have not been created. Click "use URL Rewite to inspect incoming requests" to create the sr eules.
File name \ c \ windows \ system32 \ inetsrv \ config \ applicationHost.config error: The configuration section "system.webserver / rewrite / globalRules" cannot be read because the section declaration cannot be found is displayed on the Popup screen.

The Japanese translation of the following to the warning says, "Server routing rules have not been created. To create these rules, click [Inspect incoming requests using URL rewrite]." I'm not sure what to do on the internet.
I'm sorry for my lack of knowledge,
・ Would you please teach me how to make applicationHost.config correct?

The information of pc and OS is as follows.

Processor Intel (R) Core (TM) i5-1035G1 CPU @ 1.00GHz 1.19 GHz
Implemented RAM 16.0 GB (15.7 GB available)
System type 64-bit operating system, x64-based processor

Edition Windows 10 Pro
Version 20H2
Installation date 2021 / 07/19
OS build 19042.1288
Experience Windows Feature Experience Pack 120.2212.3920.0

that's all. Thank you.

Internet Information Services
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sam Wu-MSFT 7,536 Reputation points Microsoft Vendor
    2021-11-11T09:57:11.61+00:00

    @佐藤 仁

    You can try this solution:

    Please back up your applicationHost.config file first.

    • In IIS server, check if this file exists: %SystemRoot%\system32\inetsrv\rewrite.dll. If the file exists, continue the steps below. If it doesn’t, search for the file in server. If it doesn’t exist, it means URL Rewrite is not installed. It should be installed first
    • Open applicationHost.config file
    • Add this line into the <globalModules> section: <add name="RewriteModule" image="%SystemRoot%\system32\inetsrv\rewrite.dll" />
    • Add the lines below in the <configSections> section: <sectionGroup name="rewrite">
      <section name="globalRules" overrideModeDefault="Deny" allowDefinition="AppHostOnly" />
      <section name="rules" overrideModeDefault="Allow" />
      <section name="outboundRules" overrideModeDefault="Allow" />
      <section name="providers" overrideModeDefault="Allow" />
      <section name="rewriteMaps" overrideModeDefault="Allow" />
      <section name="allowedServerVariables" overrideModeDefault="Deny" />
      </sectionGroup>
    • Add your URL Rewrite rule in the <system.webServer> section. Example: <rewrite>
      <globalRules>
      <rule name="Remove authToken parameter from Query String" enabled="true" stopProcessing="true">

      </rule>
      </globalRules>
      </rewrite>
    • Save the file
    • Reset IIS

    For more information, please refer to the document: 873174


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. 佐藤 仁 1 Reputation point
    2021-11-11T23:59:21.71+00:00

    Thank you very much for helping me.
    Thank you for your prompt reply.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.