Chris
Chris

Reputation: 8412

ASPNETDB.MDF file not showing up in APP_DATA

I'm taking Microsoft's walk through on MVC 2 Forms Authentication - http://msdn.microsoft.com/en-us/library/ff398049.aspx

According to the walk through, when I register a user, ASP.NET creates the ASPNETDB.MDF file and it is supposed to show up in my APP_DATA folder upon refreshing in the solution explorer. The problem is, for me it is not and I want to have a look inside so I can understand it's structure.

I can continue to run the project and login as the user I created, yet the ASPNETDB.MDF file is still not visible under the APP_DATA folder.

Am I missing something here? Any help is appreciated as always!

Cheers

Chris

Upvotes: 3

Views: 5166

Answers (1)

Jacob
Jacob

Reputation: 78850

Try clicking the "Show All Files" button in the Solution Explorer in Visual Studio. I believe the file gets generated, but it's not included in the Web Application project automatically.

Upvotes: 11

Related Questions