title: How to connect to SQL Server Express DB from Server Explorer VS 2010?
body: <p>I'm trying to connect to SQL DB from Server Explorer to generate context classes for Linq to SQL. Doing it like described here: <a href="http://visualcsharptutorials.com/ado-net/querying-database-linq-to-sql/" rel="nofollow">http://visualcsharptutorials.com/ado-net/querying-database-linq-to-sql/</a></p>
  
  <p>I'm getting "This file is in use." error when I try to connect. Even if I stop SQL Server in Configuration Manager I get the same error.</p>
  
  <p>I can connect to DB using SSMS at the same time.</p>
  
  <p>What am I doing wrong? Is it possible to connect to a DB simultaneously from VS and SSMS?</p>
  
  <p>Thanks</p>