I started a new internet project with VS2012 and am trying to just restructure my project a bit and I can\'t seem to keep the SimpleMemberhsipProvider working. Basically, a
First way
Check the sphair's answer out (in current thread).
Second way
Add following assemblies to the web.config:
Update
The WebMatrix.WebData assembly contains a start up method to initialize Membership/Role providers and enable RoleManager (PreApplicationStartCode.Start). But ASP.NET couldn't find that to run in your case. By adding these two lines of code, we force ASP.NET to search these assemblies for PreApplicationStartMethodAttribute(s).