Error when updating DB: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified

前端 未结 4 1889
闹比i
闹比i 2021-01-18 08:11

I\'m using EF6 and have been making a few changes to my model. Now all the sudden I get the following error when trying to update my database through the nuget command U

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-18 08:50

    Follow step by step: 1./ Create right connect to database in web.config 1./ Right click -> select "Set as default project" 2./ run update-database againt

    That's fix.

提交回复
热议问题