asp.net mvc - How to enable membership provider for sql server express database -
I am playing with ASP.Net MVC with Visual Web Developers Express Edition 2008 and SQL Server Express Edition I'm building a site that will use a membership provider for which I want to use my own database, not an application service database. I have created my database in the app_data folder, but still I can not register it via the aspnet_regsql command. It is not showing in the list. Any person has suggested how to enable their database for the membership provider.
Aspnet_regsql should be able to run such as:
aspnet_regsql -A all -C "data source =. \ SQLEXPRESS; integrated security = true; user example = true" -d "C: Change the -d switch with the correct path of your MyProject \ APP_DATA \ aspnetdb.mdf " your APP_DATA folder.