Configuration Error 'membership' already defined.问题出在哪里
最近牛头一直出现这样一个错误:
Server Error in '/' Application.
Parser Error Message: Section or group name 'membership' is already defined. Updates to this may only occur at the configuration level where it is defined.
Source Error:
Source File: k:\mainhostweb\na57\web\web.config Line: 9
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
这个错误让我迷惑了很久,配置文件以前一直好好的啊,怎么突然就出问题了呢?经过多方考察,我才发现,原来是.NET Framework的版本升为2.0了。按照http://communityserver.org/forums/476116/ShowPost.aspx 上介绍的方法,把版本换回1.1就可以解决这个问题。
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: Section or group name 'membership' is already defined. Updates to this may only occur at the configuration level where it is defined.
Source Error:
|
Source File: k:\mainhostweb\na57\web\web.config Line: 9
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
这个错误让我迷惑了很久,配置文件以前一直好好的啊,怎么突然就出问题了呢?经过多方考察,我才发现,原来是.NET Framework的版本升为2.0了。按照http://communityserver.org/forums/476116/ShowPost.aspx 上介绍的方法,把版本换回1.1就可以解决这个问题。