hackmao - 2014/4/17 11:53:04
配置错误
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。
分析器错误消息: 无法识别的属性“requestValidationMode”。请注意属性名称区分大小写。
源错误:
行 20: </customErrors>
行 21: <globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" />
行 22: <httpRuntime maxRequestLength="102400" executionTimeout="300" requestValidationMode="2.0" />
行 23: </system.web>
行 24: </configuration>
源文件: d:\freehost\gclh1\web\web.config 行: 22
版本信息: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053
xiyou - 2014/4/17 15:58:23
计事本打开web.config文件,删除requestValidationMode="2.0"这句,这句只有在asp.net4.0平台下才用