PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

asp.net4.0提交html出错的解决方法 [复制链接]

1#
Framework4.0默认阻止html提交,如果是3.0,网站设置会一直显示loading..
打开web.config找到
<httpRuntime maxRequestLength="10240" executionTimeout="60"  />
修改为
<httpRuntime maxRequestLength="10240" executionTimeout="60"  requestValidationMode="2.0"/>


如果没有<httpRuntime这行的话找到</system.web>,在这句前面加上
<httpRuntime maxRequestLength="10240" executionTimeout="60"  requestValidationMode="2.0"
/>
分享 转发
TOP
发新话题 回复该主题