Last post Aug 10, 2017 12:49 PM by DA924
Aug 09, 2017 09:44 PM|DA924|LINK
Why was this DB not created and put into the app-data folder upon creation of the project? Hell, it did everything else but that?
Aug 10, 2017 06:39 AM|Jean Sun|LINK
First, you should check the connection string which used by the IdentityContext, make sure the connection string points to the mdf file.
Only after you run this project and register a new user, the mdf file will show in App_Data folder. it will not be created upon the creation of the project. And you can create the
mdf file manually by run the EF migration commands.
Besides, the mdf file is automatically hidden , please click 'Show All Files' to check it.
Aug 10, 2017 12:49 PM|DA924|LINK
I found the link that uses SQL script that will do it. All one has to do is change the file paths of the MDF and LDF files based on the SQL Server running on the machine.