我在运行.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