Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 877 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 877 Bytes

Mhotivo

Database Setup

In case you're getting this error when running the Web projects:

Error due to non existent instance

It means EntityFramework could not find the instance name specified in the Web.config file. The solution is to create the instance in our machine instead of modifying the Web.config

You can see which instances you have running on your machine y using the following command:

sqllocaldb info

It would show something like this:

Running instances

If the instance name the program needs is not there you can create like with the following:

sqllocaldb create Projects -s

Where Projects is the name of the instance you need. The -s flag starts the instance upon creating it.

Newly created Instance