Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed

后端 未结 4 1072
北海茫月
北海茫月 2020-12-06 09:39

I\'ve attempted to add a \"service based data base\" (.mdf) to a project in an asp .net application. From there I\'ve proceeded attempted to create an entity framework model

4条回答
  •  情深已故
    2020-12-06 10:20

    I was facing same issue in VS 2019. if anyone still facing same issue then please make sure you have/do following things: 1. you should have Sql server Express installed on your m/c 2. should have SSDT installed in VS (in VS 2019- name sure to check this component while installing) for previous version; i guess you have to add this externally 3. add 'User Instance = True' to your connection string and one more thing and I think its optional - open VS and SQL in administrative mode

提交回复
热议问题