Answer the question
In order to leave comments, you need to log in
Why is SQL Local DB not connecting?
I am writing a program in c#. Let's say I try. I want to use local DB as a local database. It works for me when I start it, those who have visual studio also have it. The rest don't. Error 26, failed to connect. I tried to put SQL Express 2012 LocalDB on my computer, the same garbage. Maybe something else needs to be installed besides it? here is the connection string Data Source=(LocalDB)\v11.0;AttachDbFilename=C:\SOFT\datas.mdf;Integrated Security=True
Tell me what's wrong?
Answer the question
In order to leave comments, you need to log in
To work with LocalDB, you need NET Framework 4.5 and another library for working with the database. There you need to select the language, click "Load", in the window that opens, check the box next to SqlLocalDB.MSI (the library must be suitable for the Windows x64 \ x86 platform) and click Next (Next ) For loading.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question