I have a web application runs @ Windows 2008 R2, ASP.NET v4.0.

I installed the Url Rewrite Module, and started to use it as shown in the official examples.

My problem starts when the <rewrite> tag is added to the web.config under <system.webServer> - actually when I try to browse to any page under this current application, I get 500 - Internal server error.

This is the <rewrite> block I've been adding:

<system.webServer>
    <rewrite>
        <rules>
            <rule name="test1">
                <match url="^default/([0-9]+)/([_0-9a-z-]+)" />
                <action type="Rewrite" url="default.aspx?id={R:1}&amp;title={R:2}" />
            </rule>
        </rules>
    </rewrite>
</system.webServer>
Edit
Report