Wednesday, July 6, 2011

The entry 'AspNetSqlMembershipProvider' has already been added


Server Error in '/MyApp' 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 entry 'AspNetSqlMembershipProvider' has already been added.

Source Error:

Line 42: 
Line 43:   
Line 44:     
Line 45:       enablePasswordRetrieval="false">

Source File: C:\Program Files\MyApp\web.config    Line: 44

Version Information: Microsoft .NET Framework Version:2.0.50727.3620; ASP.NET Version:2.0.50727.3618

In the web.config file, you need to add a "remove provider" tag before the add provider tag:

No comments:

Post a Comment