I can't get a Sql Server localdb connection to work on a computer that does not have SqlServer Express installed

前端 未结 5 1851
说谎
说谎 2021-02-03 23:42

I have a C# console application written using Visual Studio 2012. In the application I am using a Sql Server localdb connection to a database to store information. This is wor

5条回答
  •  天涯浪人
    2021-02-03 23:51

    Using "Data Source=(LocalDB)\MSSQLLocalDB" also not worked form me. I had to access databasseusing "Data Source=(LocalDB)\V12.0" and for working that access to work I needed to run this command first "sqllocaldb create "v12.0". More details on this link https://dyball.wordpress.com/2014/04/28/sql-2014-localdb-error-cannot-connect-to-locaidbv12-o/

提交回复
热议问题