title: c# cannot connect to sql localdb when moved to another computer
body: <p>I am writing a program for my engineering teacher, which is connected to a MS SQL localDB. My problem is that the program works flawlessly on my computer, but when I move it to the computer that it is going to be used on, the program cannot connect to the database (I will update the post this afternoon when I get a chance to copy the exception). I have SQL Server 2008 and 2014 installed on my computer. The localDB was created on the 2008 engine. The computer that I am trying to run it on is Windows XP with SQL Server 2008 Express, and with .NET 4.0 (the .NET program itself starts up, but only crashes when I do anything related to the LocalDB).</p>
  
  <p>My connection string is as follows:</p>
  
  <pre><code>public const string conString = @"Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\Parts.mdf;Integrated Security=True";
  </code></pre>
  
  <p>And I also tried:</p>
  
  <pre><code>public const string conString = @"Data Source=DAVIDS_LAPTOP;Initial Catalog=X:\PARTS.MDF;Integrated Security=True";
  </code></pre>
  
  <p>If the solution would work on Windows XP with SQL Server 2008 Express, it would be highly appreciated,though not absolutely necessary. </p>
  
  <p>I've tried everything I could think of (albeit, I'm new to SQL). I've also tried to Google it, but to no avail</p>
  
  <p>Edit:
  <a href="https://www.dropbox.com/sh/v6k76jrchxf7agr/AAA1H66di5dndo19WSm-p0XZa?dl=0" rel="nofollow">https://www.dropbox.com/sh/v6k76jrchxf7agr/AAA1H66di5dndo19WSm-p0XZa?dl=0</a></p>