SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified for MDF file

后端 未结 2 1439
逝去的感伤
逝去的感伤 2021-01-24 17:49

I have added a database file (.mdf) to my application using Visual Studio built-in functionality. Database is in the App_Data folder. It is running fin

2条回答
  •  耶瑟儿~
    2021-01-24 18:11

    The fix for me was making sure I had the correct project set for startup in the solution. Right click project and "Set as Startup Project"

提交回复
热议问题