我正在寫簡單成員和角色提供程序。 我試圖從運行後的代碼http://www.brianlegg.com/post/2011/05/09/Implementing-your-own-RoleProvider-and-MembershipProvider-in-MVC-3.aspx但運行IIS告訴我錯誤:MVC3/MVC4中的簡單成員和角色提供程序
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.
Line 39: <providers>
Line 40: <clear />
Line 41: <add name="LocalBankMembershipProvider" type="LocalBank.Helpers.LocalBankMembershipProvider, LocalBank" connectionStringName="LocalBankEntities" />
Line 42: </providers>
Line 43: </membership>
Message Parser Error: Target call threw an exception.
Line: 41
當我在項目開始時犯了一個錯誤? 將使用Nuget包從mvc3轉換爲mvc4的項目
我該如何解決這個錯誤?