title: Can't connect to database from file
body: <p>I try to connect through: Microsoft SQL Server Database File (SqlClient), but I recieve error:</p>
  
  <blockquote>
    <p>The attempt to attach to the database failed with the following
    information:  A network-related or instance-specific error occurred
    while establishing a connection to SQL Server. The server was not
    found or was not accessible. Verify that the instance name is correct
    and that SQL Server is configured to allow remote connections.
    (provider: SQL Network Interfaces, error: 52 - Unable to locate a
    Local Database Runtime installation. Verify that SQL Server Express is
    properly installed and that the Local Database Runtime feature is
    enabled.)</p>
  </blockquote>
  
  <p>So, i click Connect to Database in Server Explorer</p>
  
  <p><img src="https://i.stack.imgur.com/kBatx.png" alt="http://i.imgur.com/9SVttQn.png"></p>
  
  <p>This window show up. In which i choose: Microsoft SQL Server Database File (SqlClient) and then browse my .mdf database file. </p>
  
  <p><img src="https://i.stack.imgur.com/xR40D.png" alt="enter image description here"></p>
  
  <p>Clicking ok gives error mentioned before:</p>
  
  <p><img src="https://i.stack.imgur.com/ugeoQ.png" alt="enter image description here"></p>
  
  <p>Server is running, I use windows authentication in database.
  Any sugestions?</p>