title: Cannot Connect to Server - A network-related or instance-specific error
body: <p>I get the following error when trying to connect to SQL Server:</p>
  <blockquote>
  <p>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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)</p>
  </blockquote>
  <p>This error is thrown when I try to configure my database to gridview in Visual Studio 2010. I'm at a loss as to how to debug this error.</p>
  <p>How would you debug this error? What steps should I take in order to determine what is really going on here, in addition to the one mentioned in the error message?</p>