如果当前iis使用的framework版本为4.0,则需要在web.config中配置<system.web>下的 <httpRuntime>节点中增加requestValidationMode="2.0"属性,即:<httpRuntime requestValidationMode="2.0">,同时页面的page标签中添加validateRequest=false属性