我在運行.aspx頁面時出現以下錯誤。URL rewrite - web.config錯誤
錯誤Code0x8007000d 配置節「改寫」不能讀,因爲它缺少一個部分聲明
我有具有以下代碼的簡單v.aspx頁:
的Response.Write (請求( 「q」))
我的託管服務器IIS 7中啓用URL重寫功能安裝(這是他們所聲稱的)
我的web.config文件中有如下行下:
注:該節點下它
<rewrite>
<rules>
<rule name="RewriteUserFriendlyURL1" stopProcessing="true">
<match url="^([^/]+)/?$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="v.aspx?q={R:1}" />
</rule>
</rules>
</rewrite>
我尋覓計算器,但沒有找到解決的辦法有藍色的波浪線。
可能是某人找到了解決方案。
TIA