asp.net4.0下使用iwms,在提交表单时出现错误提示”发生了验证错误;检测到有潜在危险的 Request.Form 值“时请按以下说明修改web.config文件。
在web.config中找到以下行
<httpRuntime maxRequestLength="2048" />
修改为
<httpRuntime requestValidationMode="2.0" maxRequestLength="2048" />
背景:
阅读新闻
相关新闻
iwms
|
Digg排行
热门评论
|