You must call the "WebSecurity.InitializeDatabaseConnection" method before you call any other method of the "WebSecurity" class. This call should be placed in an _AppStart.cshtml file in the root of your site. - MVC4
Hey everyone, Just another small issue I ran into while attempting to retrieve a user’s ID: You must call the “WebSecurity.InitializeDatabaseConnection” method before…
Read post