Skip to content

Instantly share code, notes, and snippets.

@jcockhren
Created December 7, 2015 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jcockhren/d92140ce675e0b62fa4f to your computer and use it in GitHub Desktop.
Save jcockhren/d92140ce675e0b62fa4f to your computer and use it in GitHub Desktop.
How to re-create Database File

How to re-create Database File

  1. Go to your project and right-Click on App_Data Then select Open in File Explorer
  2. In your Server Explorer, under Data Connections, delete both connections (DefaultConnection and Jitter.mdf)
  3. Delete the Database FILES in the directory from #1.
  4. In your Package Manager Console Run -> Update-Database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment