Problem with creating .MDF file from Visual Studio 2010

后端 未结 2 616
被撕碎了的回忆
被撕碎了的回忆 2020-12-11 11:12

I am trying to create a small wpf application by using mdf.

The problem is that when I am trying to add new service-based database (.mdf) I am getting the error \"C

2条回答
  •  误落风尘
    2020-12-11 12:15

    Check to make sure the SQLExpress service is running.

    From a command prompt:

    sc query mssql$sqlexpress
    

    If the state returned is "1 STOPPED", then start the service with

    sc start mssql$sqlexpress
    

提交回复
热议问题