After installing memership tables as illustrated in my previous blog 'Creating Membership Tables' we need to make changes in the web.config file as follows
The above code will remove the default database aspnetdb.mdf and point to new database where we are storing membership tables.