" /"字符已替换为字符串"%2F"在错误页面

时间:2014-04-22 10:30:21

标签: c# web-config

我在网络配置中有错误页面,即

<customErrors mode="Off" defaultRedirect="/Contents/error.aspx">
        </customErrors>

每当错误发生时它会重新定向到error.aspx;但是如果我点击任何按钮它会在错误的aspx中尝试重定向为%2FContents%2Ferror.aspx。

任何人都可以帮我解决。

0 个答案:

没有答案