From 9716d308a264b189cc9acf58e455536e05f7236f Mon Sep 17 00:00:00 2001 From: Kyle Rogers <7157021+kyle30312@users.noreply.github.com> Date: Mon, 16 Dec 2019 02:57:54 -0500 Subject: [PATCH] Update database connection string, ensure App_Data exists Starting with Visual Studio 2013, the SQL Server Express automatic instance name is MSSQLLocalDB. The App_Data folder must exist to allow initial creation of the local accounts database. --- LocalAccountsApp/App_Data/README.md | 2 ++ LocalAccountsApp/Web.config | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 LocalAccountsApp/App_Data/README.md diff --git a/LocalAccountsApp/App_Data/README.md b/LocalAccountsApp/App_Data/README.md new file mode 100644 index 0000000..a541fcb --- /dev/null +++ b/LocalAccountsApp/App_Data/README.md @@ -0,0 +1,2 @@ +This folder must exist to allow SQL Server Express to create the .mdf and .ldf database files. +This folder is listed in .gitignore so the database files do not get checked in. diff --git a/LocalAccountsApp/Web.config b/LocalAccountsApp/Web.config index 52317af..96baf45 100644 --- a/LocalAccountsApp/Web.config +++ b/LocalAccountsApp/Web.config @@ -9,7 +9,7 @@
- +