title: Wordpress permalinks on IIS?
body: <p>I am using WordPress on Windows 7 IIS to develop. I am uploading images in WordPress for a blog post. The image displays fine on the web site but as soon as I enable permalinks the images no longer work and any future images uploaded I get back an error:</p>
  
  <pre><code>HTTP Error 500.50 - URL Rewrite Module Error.
  The page cannot be displayed because an internal server error has occurred.
  </code></pre>
  
  <p>I am not sure why this would be happening, here is my <code>web.config</code>:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
    &lt;system.webServer&gt;
      &lt;rewrite&gt;
        &lt;rules&gt;
          &lt;rule name="wordpress" patternSyntax="Wildcard"&gt;
            &lt;match url="*" /&gt;
              &lt;conditions&gt;
                &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;
                &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;
              &lt;/conditions&gt;
            &lt;action type="Rewrite" url="index.php" /&gt;
          &lt;/rule&gt;
        &lt;/rules&gt;
      &lt;/rewrite&gt;
    &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>As soon as I turn off my permalinks and use the default it works, does anyone know why this could be?</p>