i have enable permalinks on my wordpress site and now every page returns 404 error. The site is hosted in IIS 8.5
the web.config file has the following rule inside
<?xml version="1.0" encoding="UTF-8"?>
<directoryBrowse enabled="false"/>
<rewrite>
<rules>
<clear/>
<rule name="wordpress" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
what can i do to fix that and make permalinks work?