Search code examples
asp.netmembership

.NET Membership


Hi I am trying out the membership features for .NET and I am using the ASP.NET Web application Administration Tool. My question is where is the user data being stored? I checked my databases and I cannot find it anywhere. I also tried to look for any information within Providers in the admin tool but I still could not locate a path. Can someone help me out? Thanks.

[EDIT] Nothing is in the App_Data folder.

Also I was wondering when I right click App_Data and try to add a database, there is no option to do so. (Add New Item).


Solution

  • Look for a file called ASPNETDB.MDF in the App_Data folder of your web application project. That's a SQL Express database file.

    Edit: Try looking in the App_Data folder in Windows Explorer. It may be on the disk but not showing up in the project inside of Visual Studio.

    https://web.archive.org/web/20210513220018/http://aspnet.4guysfromrolla.com/articles/120705-1.aspx