web.config里面加上<httpRuntime requestValidationMode="2.0" />如下<system.web><httpRuntime requestValidationMode="2.0" /></system.web>