title: error: 50 - Local Database Runtime error occurred. Specified LocalDB instance name is invalid ON JETBRAIN RIDER
body: <p>I'm trying to write ASP.NET core on Jetbrain Rider, but I'm stuck on this error though I configure all necessary settings to use SQL Server Express 2014.</p>
  
  <p>Here is my connection string:</p>
  
  <pre><code>"Server=(localdb)\\SQLEXPRESS;Database=Library;Trusted_Connection=True;MultipleActiveResultSets=True"
  </code></pre>
  
  <p>And I successfully connected SQLEXPRESS instance on Microsoft SQL Management Studio</p>
  
  <p>I also passed my connection string to UseSQLServer method in OnConfiguring method of startup.cs
  <code>optionsBuilder.UseSqlServer(@"Server=(localdb)\\SQLEXPRESS;Database=Library;Trusted_Connection=True;MultipleActiveResultSets=True");
  </code></p>
  
  <p>I'm stuck for 2 days on this error, I read almost all microsoft and Jetbrain related docs but it couldn't help</p>
  
  <p><a href="https://i.stack.imgur.com/Q05fW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q05fW.png" alt="Successfully connected on microsoft SQL Management Studio"></a></p>
  
  <p><a href="https://i.stack.imgur.com/M40Md.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M40Md.png" alt="The error I&#39;m getting when i run dotnet ef database update from the command line"></a></p>