-
Notifications
You must be signed in to change notification settings - Fork 261
SQL Database error #9
Comments
it doesn't seem to be in the repo. I just changed the connection string to point to another default ASP.NET project's user db that I had created previously. |
For anyone else that has this issue, you can resolve it by creating a new Web API project with Individual User Accounts for authentication. After Visual Studio scaffolds out the code, copy the Run the project, and it should work fine. |
Try this: From the Package Manager Console,
This should create the LocalDB database. Also, in the Web.config file, you may also need to change the connection string to point to |
I encountered similar issues and have a pull request to correct them:
Changing the connection string as mentioned by @MikeWasson takes care of (1) and (2).
Creating the App_Data folder takes care of (3). Now, using Register or Login successfully creates the aspnet-LocalAccountsApp-20141010103649 database files (.mdf and _log.ldf), and the app functions normally. |
I am having an issue finding the attached db.
The text was updated successfully, but these errors were encountered: