title: Simple IIS rewrite outbound rule is giving an error and page crashes
body: <p>I try to use  IIS rewrite outbound rules at the IIS where some of website have it implemented successfully.</p>
  
  <p><em>So I created a simple rule to replace the word "test" with "123456".</em></p>
  
  <p>And I am getting this error</p>
  
  <blockquote>
    <p>500 - Internal server error. There is a problem with the resource you
    are looking for, and it cannot be displayed.</p>
  </blockquote>
  
  <p>Web.config</p>
  
  <pre><code>&lt;system.webServer&gt;  
          &lt;!--&lt;urlCompression dynamicCompressionBeforeCache="false" /&gt;     --&gt;
          &lt;urlCompression doStaticCompression="false" doDynamicCompression="true" dynamicCompressionBeforeCache="false" /&gt;
  </code></pre>
  
  <p>It seems like if I add any (just ANY) oubound rule  the website craches.
  I mean that the pattern of the rule doesnt have impact but the rule itself liek an entry.</p>
  
  <p>Any clue?</p>
  
  <p><strong>P.S. Should I install URL Rewrite Module 2.0 coz it seems like I have installed the old version...</strong> Will it solve the issue?</p>
  
  <p><img src="https://i.stack.imgur.com/D0clC.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/h7vPx.png" alt="enter image description here"></p>
  
  <p><strong>P.S. I did some extra changes but it doesn't work at all.</strong></p>
  
  <ol>
  <li>I use </li>
  </ol>
  
  <blockquote>
    <p>&lt;  urlCompression doStaticCompression="false"
         doDynamicCompression="false" dynamicCompressionBeforeCache="false" / ></p>
  </blockquote>
  
  <ol start="2">
  <li>I installed this fix rewrite_2.0_rtw_x64_KB2749660.msp (<a href="https://support.microsoft.com/en-us/kb/2749660" rel="noreferrer">https://support.microsoft.com/en-us/kb/2749660</a> "FIX: Response is corrupted when you configure an outgoing rule in URL Rewrite Module 2.0 for IIS 7.0 or IIS 7.5")</li>
  </ol>
  
  <hr>
  
  <p>I have asked about this issue here as well <a href="https://forums.iis.net/t/1226401.aspx?Outbound+rule+is+giving+500+error+for+the+entire+website" rel="noreferrer">https://forums.iis.net/t/1226401.aspx?Outbound+rule+is+giving+500+error+for+the+entire+website</a></p>