<system.web> <httpRuntime requestValidationMode="2.0" /> <pages validateRequest="false"/> <compilation debug="true" targetFramework="4.5.2"> <assemblies> <add assembly="System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> </assemblies> </compilation> </system.web>
参考如上,主要增加这俩个节点: <httpRuntime requestValidationMode="2.0" /> <pages validateRequest="false"/>