1. Create an _AppStart.cshtml in the root of your project and put this code:
@{
if (!WebSecurity.Initialized) {
WebSecurity.InitializeDatabaseConnection("DefaultConnection", "UserProfile", "UserId", "UserName", true);
}
}2. Open the file InitializeSimpleMembershipAttribute.cs under the Filters folder and comment out this line:
//WebSecurity.InitializeDatabaseConnection("DefaultConnection", "UserProfile", "UserId", "UserName", autoCreateTables: true);
Hope that helps!