asp.net 4.0 A potentially dangerous Request.Form value was detected fr(转载) 解决方法: 页面中设置ValidateRequest="false",asp.net 4.0需要在web.config文件中配置如下结点 <configuration> <system.web> <httpRuntime requestValidationMode="2.0"> 如果是asp.net mvc 需要在对应的Controller Action上增加[ValidateInput(false)] 特性 转自http://apps.hi.baidu.com/share/detail/21178272