title: Error 40: Could not open a connection to SQL Server
body: <p>I am running a windows application on my computer but, while I connect to my SQL Server database an error occurs which says </p>
  
  <blockquote>
    <p>Named pipes Error 40 Could not open a connection to SQL server.</p>
  </blockquote>
  
  <p>I tried several MSDN pages and links, which includes firewall setting change, SQL configuration settings, but nothing works.</p>
  
  <p>Please help</p>