放在模型顶部,出错呀!
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The value of the property 'mode' cannot be parsed. The error is: The enumeration value must be one of the following: RemoteOnly, On, Off.
Source Error:
Line 16: <compilation defaultLanguage="C#" debug="false" />
Line 17: <authentication mode="Forms" />
Line 18: <customErrors mode="on">
Line 19: <error statusCode="404" redirect="/err404.htm" />
Line 20: </customErrors>
Source File: D:\wwwroot\web.config Line: 18