Base solution for your next web application
Open Closed

Install Setup Issue #3058


User avatar
0
blargo created

What am I doing wrong?

Downloaded the solution. Changed my connection string. Commented out the multi-tenancy line in the Core project. Compiled Ran Update-Database from the EntityFramework project. (No DB tables were created) Ran Project Get an error message that tenant id 1 doesn't exist.

Thinking it is an issue with Update-Database not creating the tables, populating default data? Using SQL Express on this VM, if that is my issue?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Is the Web project selected as startup project while running migrations ? If you are not getting any exception on Package Manager Console, probably database is created but in a different place.

    Where did you change connection string by the way ?