I am developing a code first web app in Visual Studio 2012 Express.
I use this connection string in the web.config:
If it is already initialized then make sure your first call:
if (!WebSecurity.Initialized) { // Do the initialization first. } // The rest of the code
This way you'll be sure that you don't repeat the initialization process.