title: How do I set up SQL Server LocalDB to run on a client's machine?
body: <p>I'm using Winforms and SQL Server LocalDB to develop an application that will be installed to an end user's desktop.  </p>
  
  <ul>
  <li>What do I need to do to install LocalDB to a client's machine? </li>
  <li>Which version of .NET do I need to have on the client's machine?  </li>
  <li>What does the connection string look like in this scenario?  </li>
  </ul>
  
  <p>I tried the following connection string:  </p>
  
  <pre><code>string config = "Server=(localdb)\v11.0; Integrated Security=true; AttachDbFileName=C:\\Folder\\dbName.mdf;";
  </code></pre>
  
  <p>I get the following error: </p>
  
  <blockquote>
    <p>an error ocorred.. cannot connect to SQL SERVER...Provider:Named Pipes Provider, error 40 ...."</p>
  </blockquote>