title: Unable to connect to the database engine using SQL Server management studio
body: <p>I installed SQLManagementStudio_x64_ENU from Microsoft site on my Windows 7 Home Premium.
  It gave me compatibility warnings but I still installed because Microsoft site specified that I would receive warnings but suggested to click on <em>Run Program</em>, which I did.</p>
  
  <p>It was successfully installed. I checked <em>Services.msc</em>, and I can see two SQL Server services are running. I checked SQL Server Configuration, and I can see services running under automatic mode, and the agent is off. </p>
  
  <p>When I open my management studio and try to connect using "Server name" option, I can't see any server instance in browse option. There are no servers to connect. I am not able to connect to the database engine. I have tried at least 10 times, but still, it's not allowing me to connect.</p>
  
  <p>I get the following error:</p>
  
  <pre><code>A network-related or instance-specific error occurred while establishing a 
  connectionto 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
  </code></pre>
  
  <p>allow remote connections.
      (provider: Named Pipes Provider, error: 40 - Could not open a connection 
      to SQL Server) (.Net SqlClient Data Provider)</p>
  
  <p>Can someone help me with this problem?</p>